/* Western Escape Game - Clean Bootstrap Template */

/* Global Styles */
body {
  font-family: "Wild Bandit Serif", "Crimson Text", "Georgia", "Times New Roman",
    serif;
  background: url("../images/wood.webp") center/cover fixed;
  color: var(--western-text);
  line-height: 1.6;
}

/* Typography */
.western-heading {
  font-family: "Texas Tango", cursive;
  color: var(--western-dark);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

/* Main headings with Texas Tango font */
.hero-title {
  font-family: "Texas Tango", cursive !important;
}

/* Subheadings with Edmunds font */
.card-title,
h5 {
  font-family: "Edmunds", "Arial", "Helvetica", sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.western-text {
  color: var(--western-dark);
  font-weight: 600;
}

/* Navigation */
.western-nav {
  background: linear-gradient(135deg, var(--western-dark) 0%, #2c1810 100%);
  border-bottom: 3px solid var(--western-gold);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.western-nav .navbar-nav .nav-link {
  color: #f8f9fa;
  font-weight: 500;
  transition: all 0.3s ease;
}

.western-nav .navbar-nav .nav-link:hover,
.western-nav .navbar-nav .nav-link.active {
  color: var(--western-gold);
}

/* Buttons */
.btn-western-primary {
  background: linear-gradient(
    135deg,
    var(--western-gold) 0%,
    var(--western-dark-gold) 100%
  );
  border: 2px solid var(--western-dark-gold);
  color: var(--western-dark);
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-western-primary:hover {
  background: linear-gradient(
    135deg,
    var(--western-dark-gold) 0%,
    var(--western-gold) 100%
  );
  border-color: var(--western-gold);
  color: var(--western-dark);
  transform: translateY(-2px);
}

.btn-western-gold {
  background: linear-gradient(
    135deg,
    var(--western-gold) 0%,
    var(--western-dark-gold) 100%
  );
  border: 3px solid var(--western-dark-gold);
  color: var(--western-dark);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-western-gold:hover {
  background: linear-gradient(
    135deg,
    var(--western-dark-gold) 0%,
    var(--western-gold) 100%
  );
  color: var(--western-dark);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-western-outline {
  background: transparent;
  border: 3px solid var(--western-gold);
  color: var(--western-gold);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-western-outline:hover {
  background: var(--western-gold);
  color: var(--western-dark);
  transform: translateY(-3px);
}

/* Hero Section */
.hero-western {
  min-height: 100vh;
  background: url("../images/salon.webp") center/cover;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6rem 0;
}

.hero-western::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--western-gold) 20%,
    var(--western-dark-gold) 50%,
    var(--western-gold) 80%,
    transparent 100%
  );
  box-shadow: 0 2px 8px rgba(218, 165, 32, 0.4);
}

.hero-title {
  font-family: "Texas Tango", cursive;
  font-size: 3rem;
  color: var(--western-gold);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  letter-spacing: 2px;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--western-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 600;
}

.hero-description {
  font-size: 1.3rem;
  color: #f8f9fa;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  max-width: 500px;
  margin: 0 auto;
}

/* Sections */
.western-panel {
  background: transparent;
  padding: 2rem 0;
}

/* Alternating background sections */
.western-panel:nth-child(even) {
  background: url("../images/hero-bg.webp") center/cover fixed;
  position: relative;
}

.western-panel:nth-child(even)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 6, 4, 0.5);
  z-index: 1;
}

.western-panel:nth-child(even) .container {
  position: relative;
  z-index: 2;
}

/* Content boxes - GRADIENT FADE BACKGROUND */
.western-content-box {
  background: linear-gradient(
    135deg,
    rgba(10, 6, 4, 0.8) 0%,
    rgba(20, 12, 8, 0.6) 50%,
    rgba(10, 6, 4, 0.7) 100%
  );
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.western-content-box h2,
.western-content-box h3,
.western-content-box h4,
.western-content-box h5 {
  color: var(--western-gold);
}

.western-content-box .lead {
  color: var(--western-gold);
  font-weight: 600;
}

.western-content-box p {
  color: #ffffff;
}

/* Cards */
.western-card {
  background: linear-gradient(
    135deg,
    rgba(10, 6, 4, 0.9) 0%,
    rgba(18, 10, 6, 0.8) 50%,
    rgba(10, 6, 4, 0.85) 100%
  );
  border: 2px solid var(--western-gold);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  color: #ffffff;
}

.western-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: var(--western-gold);
}

.western-card .card-title {
  color: var(--western-gold);
}

.western-card .card-text {
  color: #ffffff;
}

.western-card-img {
  height: 160px;
  object-fit: cover;
}

/* Icons */
.western-icon {
  color: #c0c0c0;
}

.western-icon-large {
  font-size: 1.5rem;
  color: var(--western-dark-gold);
}

.western-icons {
  font-size: 1rem;
  color: var(--western-dark-gold);
}

.western-icons i {
  margin: 0 0.2rem;
}

/* Price Tags */
.price-tag {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--western-gold);
  font-family: "Edmunds", "Arial", "Helvetica", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Images */
.western-img {
  border: 3px solid var(--western-dark-gold);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Decorative Elements */
.western-divider {
  text-align: center;
  position: relative;
  margin: 2rem 0;
}

.western-divider::before {
  content: "★ ★ ★";
  color: #c0c0c0;
  font-size: 1.5rem;
  background: rgba(44, 24, 16, 0.9);
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.western-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #c0c0c0;
  z-index: 1;
}

/* Footer */
.western-footer {
  background: linear-gradient(135deg, var(--western-dark) 0%, #1a0f08 100%);
  border-top: 3px solid var(--western-gold);
  color: #f8f9fa;
}

.western-footer a {
  color: #f8f9fa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.western-footer a:hover {
  color: var(--western-gold);
}

/* Contact buttons */
.btn-western-contact {
  background: rgba(218, 165, 32, 0.2);
  border: 2px solid var(--western-gold);
  color: var(--western-gold);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-western-contact:hover {
  background: var(--western-gold);
  color: var(--western-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(218, 165, 32, 0.3);
}

/* Contact links */
.contact-info {
  text-align: left;
}

.contact-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: var(--western-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--western-gold);
  transform: translateX(5px);
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info i {
  min-width: 20px;
  color: var(--western-gold);
}

/* Western Colt Images - GOLDEN COLOR */
.western-colt-left,
.western-colt-right {
  height: 1.2em;
  width: auto;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%) invert(85%) sepia(100%) saturate(500%)
    hue-rotate(15deg) brightness(1.1);
  vertical-align: middle;
}

.western-colt-left {
  transform: rotate(-15deg) scaleX(-1);
}

.western-colt-right {
  transform: rotate(15deg);
}

.western-heading:hover .western-colt-left {
  transform: rotate(-25deg) scaleX(-1) scale(1.1);
  filter: brightness(0) saturate(100%) invert(85%) sepia(100%) saturate(600%)
    hue-rotate(10deg) brightness(1.2);
}

.western-heading:hover .western-colt-right {
  transform: rotate(25deg) scale(1.1);
  filter: brightness(0) saturate(100%) invert(85%) sepia(100%) saturate(600%)
    hue-rotate(10deg) brightness(1.2);
}

@media (max-width: 768px) {
  .western-colt-left,
  .western-colt-right {
    height: 1em;
    margin: 0 0.3rem;
  }
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Animation removed from hero title */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(218, 165, 32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(218, 165, 32, 0);
  }
}

.btn-western-gold {
  animation: pulse 3s infinite;
}

/* Better readability for body text */
p,
.card-text,
li,
span {
  font-family: "Wild Bandit Serif", "Crimson Text", "Georgia", "Times New Roman",
    serif !important;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* Lead text uses Wild Bandit Serif for consistency */
.lead {
  font-family: "Wild Bandit Serif", "Crimson Text", "Georgia", "Times New Roman",
    serif !important;
  font-weight: 500;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.7;
}

.small {
  font-size: 0.85rem !important;
  line-height: 1.4;
}

/* Keep Texas Tango for main headings */
h1,
h2,
h3,
h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.hero-title,
.western-heading {
  font-family: "Texas Tango", cursive !important;
}

/* Subheadings use Edmunds */
h5,
h6,
.card-title {
  font-family: "Edmunds", "Arial", "Helvetica", sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Button text uses Edmunds */
.btn {
  font-family: "Edmunds", "Arial", "Helvetica", sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Navigation uses Edmunds */
.navbar-nav .nav-link {
  font-family: "Edmunds", "Arial", "Helvetica", sans-serif !important;
  font-weight: 500;
}

/* Reservation price amount uses Edmunds (distinct from surrounding text) */
.price-amount {
  font-family: "Edmunds", "Arial", "Helvetica", sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .btn-hero,
  .btn-hero-outline,
  .btn-western-gold,
  .btn-western-outline {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .western-panel {
    padding: 2rem 0;
  }

  .western-content-box {
    padding: 1rem;
  }

  .price-tag {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  /* Partners section images on very small screens */
  .western-card .card-img-top {
    height: 160px !important;
    width: 100% !important;
    object-fit: contain !important;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
/* Western Colt Images - Single colt above headings - EXACT GOLD COLOR */
.western-colt-top {
  height: 2em;
  width: auto;
  transition: all 0.3s ease;
  vertical-align: middle;
}

.western-colt-top:hover {
  transform: scale(1.15) rotate(8deg);
  filter: sepia(1) saturate(2.5) hue-rotate(30deg) brightness(1.3) contrast(1.2);
}

@media (max-width: 768px) {
  .western-colt-top {
    height: 2.5em;
  }

  /* Partners section responsive images */
  .western-card .card-img-top {
    height: 180px !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  /* Hero section responsive */
  .hero-western {
    min-height: 60vh !important;
    padding: 3rem 0 !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
    max-width: 280px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0.5rem !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }

  .hero-buttons .btn:last-child {
    margin-bottom: 0 !important;
  }

  /* Contact section responsive */
  .contact-info p {
    margin-bottom: 0.5rem !important;
  }

  .contact-info .small {
    font-size: 0.75rem !important;
  }

  .western-card .card-body {
    padding: 1rem !important;
  }

  .western-card h5 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .western-icon-large {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
  }
}

/* Western Form Controls */
.western-form-control {
  background: rgba(10, 6, 4, 0.8);
  border: 2px solid var(--western-gold);
  border-radius: 8px;
  color: #ffffff;
  font-family: "Wild Bandit Serif", "Crimson Text", "Georgia", "Times New Roman",
    serif;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.western-form-control:focus {
  background: rgba(10, 6, 4, 0.9);
  border-color: var(--western-dark-gold);
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(218, 165, 32, 0.25);
}

.western-form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.western-form-control:focus::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Widget z-index */
.sccz-widget,
#voucher-widget,
#widget-section,
.sccz-widget *,
#voucher-widget *,
#widget-section * {
  position: relative;
  z-index: 99999 !important;
}

/* Prevent navigation from covering widget on mobile */
@media (max-width: 768px) {
  #voucher-widget,
  #widget-section {
    padding-top: 60px !important;
    margin-top: 20px !important;
    scroll-margin-top: 60px !important;
  }

  #voucher-widget .sccz-widget,
  #widget-section .sccz-widget {
    position: relative !important;
    z-index: 99999 !important;
  }

  .western-nav,
  .navbar {
    z-index: 9999 !important;
  }

  /* Ensure all widget child elements have high z-index */
  .sccz-widget *,
  .sccz-widget iframe,
  .sccz-widget div,
  .sccz-widget form,
  .sccz-widget button,
  .sccz-widget input,
  .sccz-widget select {
    position: relative !important;
    z-index: 99999 !important;
  }

  /* Widget popup/modal elements need even higher z-index */
  .sccz-widget [class*="modal"],
  .sccz-widget [class*="popup"],
  .sccz-widget [class*="overlay"],
  .sccz-widget [id*="modal"],
  .sccz-widget [id*="popup"] {
    position: fixed !important;
    z-index: 999999 !important;
  }

  /* Prevent sticky header from covering widget content */
  .sticky-top {
    z-index: 9999 !important;
  }
}
