/* Mirabilia - the same tokens landing/mirabilia.css uses, so the checkout,
   the landing page and the emails agree. */
:root {
  --primary-color: #ed6b9c; /* pink */
  --secondary-color: #a7ddf5; /* sky blue */
  --accent-color: #c6e99c; /* green */
  --dark-color: #262222; /* ink */
  --light-color: #f4efff; /* lavender */
  --text-dark: #262222;
  --text-light: #625b60;
  --gradient-start: #ffdfeb; /* pink-light */
  --gradient-mid: #f4efff; /* lavender */
  --gradient-end: #a7ddf5; /* sky blue */
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-mid),
    var(--gradient-end)
  );
  background-attachment: scroll; /* 'fixed' repaints the whole background on every scroll frame */
  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 */

/* Light beam effects - Fixed for mobile */
/* 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(38, 34, 34, 0.88);
  box-shadow: 0 4px 20px rgba(237, 107, 156, 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(38, 34, 34, 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(38, 34, 34, 0.88),
    rgba(237, 107, 156, 0.88),
    rgba(117, 190, 79, 0.82)
  );
  /* index.php replaces the background above with a cream wash, so the
     inherited text colour has to be ink rather than white. */
  color: #262222;
  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;
  /* was white with a drop shadow, for the 2025 dark page. Every 2026
     background is a light pastel, where white is about 1.5:1. */
  color: #262222;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #262222;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* 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;
  /* was white with a shadow, for the 2025 dark page: 1.5:1 on the 2026
     pastels. Deep pink is 6.2:1 and matches the accent elsewhere. */
  color: #ac285d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title p {
  font-size: 1.2rem;
  /* sits straight on the page image, so it has to be ink: 7.2:1 on the
     pinkest background, 11.8:1 on the lightest */
  color: #262222;
  max-width: 700px;
  margin: 0 auto;
}

/* Price Cards */
.price-card {
  /* Solid, not translucent. At 90% white the page image bled through, so on
     the pink pages the card itself went pink and the pink title on it fell to
     2.7:1. Flat paper with an ink border is also cheaper than a backdrop blur. */
  background-color: #fffdf8;
  border: 2px solid #262222;
  border-radius: 7px;
  box-shadow: 4px 4px 0 #262222;
  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: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #262222;
}

.price-title {
  /* was var(--primary-color) #ed6b9c - 2.79:1 on the card, below AA */
  color: #262222;
  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(237, 107, 156, 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(0, 126, 226, 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 {
  /* white on --primary-color #ed6b9c is 2.92:1. Mirabilia's button is ink on
     flat pink with an ink border and a hard shadow, which is 5.38:1. */
  background-color: var(--primary-color);
  border: 2px solid #262222;
  color: #262222;
  border-radius: 7px;
  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: #ffdfeb;
  border-color: #262222;
  color: #262222;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #262222;
}

.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: #ffdfeb;
  border-color: #262222;
  color: #262222;
  box-shadow: 4px 4px 0 #262222;
}

.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 */
/* Mirabilia footer: the cream band the landing page ends on, rather than the
   2025 maroon-to-orange gradient, which did not belong to this year's design. */
.footer {
  background: #fff9ed;
  color: #262222;
  border-top: 1px solid #c8c0b5;
  padding: 28px 0 24px;
  text-align: center;
  font-size: 14px;
  position: relative;
  z-index: 10;
}

.footer a {
  color: #ac285d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* 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 {
  /* Solid, not translucent. At 90% white the page image bled through, so on
     the pink pages the card itself went pink and the pink title on it fell to
     2.7:1. Flat paper with an ink border is also cheaper than a backdrop blur. */
  background-color: #fffdf8;
  border: 2px solid #262222;
  border-radius: 7px;
  box-shadow: 4px 4px 0 #262222;
  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(237, 107, 156, 0.12);
}

.card-title-custom {
  /* solid deep pink: white on it is 6.53:1, where the gradient's pink end
     was 2.92:1 */
  background: #ac285d;
  color: #ffffff;
  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(237, 107, 156, 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(237, 107, 156, 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: #ac285d;
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* Payment Styles */
.payment-amount-section {
  padding: 30px;
  background-color: rgba(237, 107, 156, 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(237, 107, 156, 0.25);
}

/* Shipping Details */
.shipping-details {
  background-color: rgba(237, 107, 156, 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;
  background-image: url("../landing/assets/img/WEBSITE%20BG%20DESKTOP.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.55); /* dark overlay for readability */
  background-blend-mode: multiply; /* apply overlay blending */
}

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;
}
