/* Custom Styles & Western Theme Enhancements for RodeoBullGrimsby.com */
/* Operated by Jump 4 Joy Grimsby */

:root {
  --primary-amber: #f59e0b;
  --primary-orange: #ea580c;
  --western-wood: #78350f;
  --western-leather: #451a03;
  --western-glow: rgba(245, 158, 11, 0.4);
  --dark-bg: #0b0f19;
  --card-bg: #131b2e;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: #e2e8f0;
  overflow-x: hidden;
}

/* Western Display Headings */
.font-western {
  font-family: 'Rye', 'Alfa Slab One', serif, Impact;
  letter-spacing: 0.05em;
}

.font-stamp {
  font-family: 'Bungee', 'Impact', sans-serif;
  letter-spacing: 0.08em;
}

/* Text Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-fire {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 40%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

.glow-gold-hover:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.55);
}

.glow-fire {
  box-shadow: 0 0 30px rgba(234, 88, 12, 0.45);
}

/* Western Border and Ribbons */
.western-border {
  position: relative;
  border: 2px solid #78350f;
  background: linear-gradient(180deg, rgba(26, 34, 53, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
}

.western-border::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed rgba(245, 158, 11, 0.4);
  pointer-events: none;
  border-radius: inherit;
}

/* Custom corner rivets for western signage */
.rivet {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fde047, #b45309);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.rivet-tl { top: 8px; left: 8px; }
.rivet-tr { top: 8px; right: 8px; }
.rivet-bl { bottom: 8px; left: 8px; }
.rivet-br { bottom: 8px; right: 8px; }

/* Mechanical Bull Bucking Animation */
@keyframes bucking {
  0% { transform: translateY(0) rotate(0deg); }
  15% { transform: translateY(-16px) rotate(-14deg); }
  30% { transform: translateY(8px) rotate(18deg); }
  45% { transform: translateY(-20px) rotate(-10deg); }
  60% { transform: translateY(12px) rotate(12deg); }
  75% { transform: translateY(-10px) rotate(-6deg); }
  90% { transform: translateY(4px) rotate(4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.animate-bucking {
  animation: bucking 2.4s ease-in-out infinite;
  transform-origin: center bottom;
}

.animate-bucking-fast {
  animation: bucking 1.1s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: center bottom;
}

/* Subtle pulse for badges */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-ring {
  animation: pulse-ring 3s infinite ease-in-out;
}

/* Digital LED Timer Look */
.digital-timer {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  background: #020617;
  color: #22c55e;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  letter-spacing: 2px;
}

.digital-timer-red {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  background: #020617;
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.75);
  letter-spacing: 2px;
}

.digital-timer-amber {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  background: #020617;
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.75);
  letter-spacing: 2px;
}


/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}


/* FAQ Accordion Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* Modal overlay */
.modal-backdrop {
  backdrop-filter: blur(8px);
  background-color: rgba(11, 15, 25, 0.85);
}

/* ====================================================
   LIVE BOOKING WIZARD STYLES
   ==================================================== */
#booking-engine {
  scroll-margin-top: 90px;
}

.wizard-step {
  scroll-margin-top: 135px;
  position: relative;
}

#wizard-step-5.hidden {
  display: none !important;
}

/* Step Progress Indicator */
.step-node {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-node.completed .step-circle {
  background-color: #10b981;
  border-color: #059669;
  color: #ffffff;
}

.step-node.active .step-circle {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-color: #fbbf24;
  color: #000000;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  transform: scale(1.1);
}

.step-node.upcoming .step-circle {
  background-color: #1e293b;
  border-color: #334155;
  color: #64748b;
}

/* Booking Receipt Ticket */
.booking-ticket {
  background: linear-gradient(180deg, #131b2e 0%, #0f172a 100%);
  border: 2px solid #78350f;
  position: relative;
}

.booking-ticket::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 10px;
  right: 10px;
  height: 6px;
  background-size: 16px 6px;
  background-repeat: repeat-x;
  background-image: radial-gradient(circle at 8px 0px, transparent 6px, #0b0f19 7px);
}

/* Radio Card Selection States */
.radio-card input:checked + div {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(234, 88, 12, 0.08) 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

/* Print Styles for Booking Receipt */
@media print {
  body * {
    visibility: hidden;
  }
  #booking-receipt-printable, #booking-receipt-printable * {
    visibility: visible;
  }
  #booking-receipt-printable {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: #000 !important;
    background: #fff !important;
  }
}
