/*
  Open House FKG UI 2026 — "Meet Me at The Smile Street".
  Palette lifted from landing/index.html so the checkout matches the landing
  page. Variable NAMES are unchanged from the 2025 theme on purpose: they are
  consumed all over this file and in the five page-level style blocks, and
  renaming them would mean touching every consumer for no visible gain.
*/
:root {
  --primary-color: #e9503f; /* tomato red — CTAs, prices */
  --secondary-color: #f5c33f; /* gold — accents, awning stripe */
  --accent-color: #fffaf0; /* warm cream — cards */
  --dark-color: #1f6d3a; /* street green — navbar, headings */
  --light-color: #ffd75e; /* light gold */
  --text-dark: #2a3d31; /* deep green ink */
  --text-light: #6b7a6f; /* muted sage */
  --gradient-start: #1f6d3a; /* green  */
  --gradient-mid: #f5c33f; /* gold   */
  --gradient-end: #fdf3df; /* cream  */
  /* 2026 additions */
  --cream-bg: #fdf3df;
  --ink-strong: #1c4d2a;
  --border-warm: #e5d6b4;
  --primary-hover: #c9432f;
  --sky: #68c7e8;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-mid),
    var(--gradient-end)
  );
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto !important;
  position: relative;
  height: auto;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

/* Decorative Elements - Fixed for mobile */
/* Decorative orbs removed for performance */

.orb-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  right: 5%;
  animation: float 15s ease-in-out infinite;
}

.orb-2 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 8%;
  animation: float 12s ease-in-out infinite reverse;
}

.orb-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 15%;
  animation: float 10s ease-in-out infinite 2s;
}

.orb-4 {
  width: 80px;
  height: 80px;
  top: 35%;
  left: 12%;
  animation: float 8s ease-in-out infinite 1s;
}

.orb-5 {
  width: 40px;
  height: 40px;
  bottom: 20%;
  right: 20%;
  animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-15px) translateX(10px);
  }
  50% {
    transform: translateY(0) translateX(0);
  }
  75% {
    transform: translateY(15px) translateX(-10px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Light beam effects - Fixed for mobile */
.light-beam {
  position: fixed; /* Change to fixed instead of absolute */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  transform-origin: top center;
  z-index: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none; /* Ensure they don't interfere with clicks */
  max-width: 100vw; /* Limit width to viewport width */
  overflow: hidden; /* Hide overflow */
}

.beam-1 {
  width: 30%; /* Reduce width to percentage of viewport */
  height: 100vh;
  top: -50px;
  left: -5%; /* Position slightly off-screen */
  transform: rotate(-25deg);
  opacity: 0.5;
  animation: beam-fade 8s infinite alternate;
}

.beam-2 {
  width: 20%; /* Reduce width to percentage of viewport */
  height: 80vh;
  top: -50px;
  right: -5%; /* Position slightly off-screen */
  transform: rotate(15deg);
  opacity: 0.3;
  animation: beam-fade 10s infinite alternate-reverse;
}

@keyframes beam-fade {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.5;
  }
}

/* Cloud-like elements - Fixed for mobile */
/* Cloud elements removed for performance */

.cloud-1 {
  width: 40%; /* Reduce width to percentage of viewport */
  height: 30%;
  top: 10%;
  left: -10%; /* Position slightly off-screen */
}

.cloud-2 {
  width: 40%; /* Reduce width to percentage of viewport */
  height: 25%;
  bottom: 5%;
  right: -10%; /* Position slightly off-screen */
}

.cloud-3 {
  width: 30%; /* Reduce width to percentage of viewport */
  height: 18%;
  top: 40%;
  right: 0; /* Keep within viewport */
}

/* Navigation */
.navbar {
  background-color: rgba(31, 109, 58,0.88);
  box-shadow: 0 4px 20px rgba(233, 80, 63,0.12);
  padding: 15px 0;
  transition: all 0.4s ease;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(31, 109, 58,0.95);
}

.navbar-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #fff !important;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.nav-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #fff !important;
  margin: 0 12px;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--secondary-color) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    rgba(31, 109, 58,0.88),
    rgba(233, 80, 63,0.88),
    rgba(253, 243, 223, 0.9)
  );
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=2068")
    no-repeat center center; */
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Start Now Button */
.start-now-btn {
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.start-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.9);
}

.start-now-btn i {
  transition: transform 0.3s ease;
}

.start-now-btn:hover i {
  transform: translateY(3px);
}

/* Section Container */
.section-container {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.section-title p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

/* Price Cards */
.price-card {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(233, 80, 63,0.12);
}

.price-title {
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  height: 60px; /* Fixed height for title */
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  height: 40px; /* Fixed height for price */
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-description {
  color: var(--text-light);
  margin-bottom: 20px;
  min-height: 100px; /* Minimum height for description */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.availability-info {
  background-color: rgba(233, 80, 63,0.12);
  padding: 10px;
  border-radius: 8px;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 20px;
  height: 42px; /* Fixed height for availability info */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Controls */
.form-label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(233, 80, 63, 0.25);
}

.quantity-input {
  max-width: 150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 85px;
  justify-content: center;
}

/* Buttons with improved visibility */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background-color: #c9432f;
  border-color: #c9432f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover:not([disabled]) {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background-color: var(--light-color);
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Alert Custom */
.alert-custom {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* Merchandise Image */
.merch-img-container {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.merch-img {
  max-height: 150px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-mid),
    var(--gradient-end)
  );
  color: white;
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 10; /* Ensure footer is above decorative elements */
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*
    Was a hotlinked Unsplash photo — a third-party request on every page load
    for a texture rendered at 10% opacity. Replaced with a CSS-only awning
    stripe in the 2026 gold/red, which costs nothing and cannot 404.
  */
  background: repeating-linear-gradient(
    135deg,
    var(--secondary-color) 0 18px,
    var(--primary-color) 18px 36px
  );
  opacity: 0.12;
  z-index: 0;
}

/* Ensure footer content is clickable */
.footer .container,
.footer p,
.footer a {
  position: relative;
  z-index: 11; /* Higher than footer background */
}

/* Add light ray effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.04) 75%,
    transparent 100%
  );
  background-size: 200% 200%;
  animation: lightRays 15s linear infinite;
  z-index: -1;
}

@keyframes lightRays {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 200%;
  }
}

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

  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

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

  .section-container {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .price-title {
    font-size: 1.5rem;
  }

  .price-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

  .start-now-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .section-title p {
    font-size: 1rem;
  }
}

/* Custom Card Styles */
.card-custom {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  padding: 0;
  height: auto;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  margin-bottom: 20px;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(233, 80, 63,0.12);
}

.card-title-custom {
  background: linear-gradient(45deg, var(--primary-color), var(--dark-color));
  color: white;
  padding: 20px 25px;
  border-radius: 16px 16px 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.card-body-custom {
  padding: 20px;
}

/* Custom List Group */
.list-group-custom {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.list-item-custom {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(233, 80, 63,0.15);
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.list-item-custom:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(233, 80, 63,0.12);
}

.item-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.item-quantity {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-left: 10px;
}

.price-badge {
  background: linear-gradient(45deg, var(--primary-color), var(--dark-color));
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Total Section */
.total-section {
  background-color: rgba(233, 80, 63,0.08);
  padding: 12px 15px;
  border-radius: 12px;
  margin-top: 15px;
}

/* Payment Styles */
.payment-amount-section {
  padding: 30px;
  background-color: rgba(233, 80, 63,0.08);
  border-radius: 16px;
  margin: 30px 0;
}

.payment-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 20px 0;
  text-shadow: 0 2px 10px rgba(233, 80, 63,0.25);
}

/* Shipping Details */
.shipping-details {
  background-color: rgba(233, 80, 63,0.08);
  padding: 12px 15px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.shipping-cost,
.total-amount {
  font-weight: 700;
  color: var(--primary-color);
}

/* Fix for horizontal scrolling on mobile - Apply to all pages */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  /*
    Two stacked layers, same trick as the landing page hero: bg-playroom.png
    is the Canva key visual and has not been exported yet (it is over the
    design MCP's read cap), so hero-fallback.svg sits underneath and shows
    until the PNG is dropped in. No code change needed when it arrives.
  */
  /*
    Leading layer is a cream scrim, so headings that sit straight on the artwork
    stay readable. It is LIGHT because all the text over it is dark — the
    opposite of the 55%-black wash 2025 used for white text.

    0.55 was picked by measuring rendered pixels behind .section-title h2, not by
    eye. The deciding case is a SHORT window: because these layers are
    background-attachment:fixed with cover, the slice of artwork sitting behind
    the heading changes with viewport height, and a ~1400px-tall window lands on a
    darker part of the street than a tall one. There:

        0.45 -> 3.11:1 at the 5th percentile   (marginal; AA-large wants 3.0)
        0.55 -> 3.81:1                          (comfortable)
        0.62 -> 4.34:1                          (little further gain, flatter art)

    On a tall window all three sit at 5.4-5.7:1. 0.55 is the point where the worst
    case is comfortable while roughly four fifths of the artwork's detail survives.
  */
  background-image: linear-gradient(
      rgba(253, 243, 223, 0.55),
      rgba(253, 243, 223, 0.55)
    ),
    url("../landing/assets/img/bg-playroom.png"),
    url("../landing/assets/img/hero-fallback.svg");
  background-size: cover, cover, cover;
  background-position: center, center bottom, center bottom;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
  background-color: var(--cream-bg);
  /*
    2025 laid a 55%-black multiply wash over the photo so white text stayed
    readable. Dropped for 2026: the street scene is bright and every panel
    now sits on an opaque cream card, so the wash only muddied the artwork.
  */
}

body {
  overflow-x: hidden !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-section {
    padding: 80px 0 40px;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .btn-primary,
  .btn-light,
  .btn-outline-primary {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
}

.card-action-container {
  margin-top: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
