/* 
   ==========================================================================
   LOWVELD BRIDAL EXPO - CORE DESIGN SYSTEM & STYLESHEET
   Aesthetics: Luxury, Airy, Editorial Bridal Theme
   Layout: Flexbox & Grid Exclusively (Modern CSS)
   Core Web Vitals: Predefined layout elements to avoid layout shifts (CLS)
   ========================================================================== 
*/

/* 1. DESIGN TOKENS (CSS VARIABLES) */
:root {
  /* Fonts */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette - Luxury Bridal theme */
  --color-bg-primary: #fdfbf7;      /* Warm Luxury Cream */
  --color-bg-secondary: #fafafa;    /* Alabaster White */
  --color-card-bg: #ffffff;         /* Pure White for card contrast */
  --color-text-primary: #2c2c2c;    /* Dark Charcoal for high readability */
  --color-text-secondary: #5e5e5e;  /* Slate Grey for copy details */
  
  --color-accent-blush: #e8c5c8;    /* Soft Blush Pink */
  --color-accent-gold: #c5a880;     /* Warm Champagne Gold */
  --color-accent-gold-hover: #b3956e;
  
  --color-border: #ebe6df;          /* Soft border color */
  --color-overlay: rgba(0, 0, 0, 0.7); /* Dark video hero overlay for readability */
  --color-white: #ffffff;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(44, 44, 44, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 44, 44, 0.08);
  --shadow-lg: 0 16px 40px rgba(44, 44, 44, 0.12);

  /* Layout Constants */
  --header-height: 80px;
  --header-height-scrolled: 70px;
  --container-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
}

/* 2. MODERN RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

/* 3. TYPOGRAPHY SYSTEM */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive fluid header */
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* Elegant subtitle accent under H2 */
h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--color-accent-gold);
  margin: 0.75rem auto 0;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
}

.text-gold {
  color: var(--color-accent-gold);
}

/* 4. LAYOUT COMPONENTS & UTILITIES */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 5. STICKY GLASSMORPHISM HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(253, 251, 247, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(235, 230, 223, 0.3);
  z-index: 1000;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
}

/* Scroll state styling */
.header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(253, 251, 247, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.mobile-only-cta {
  display: none;
}

.desktop-only-cta {
  display: inline-block;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-gold);
  transition: var(--transition-fast);
}

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

.nav-link:hover {
  color: var(--color-accent-gold);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: var(--transition-fast);
}

/* 6. BUTTON SYSTEM */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.3);
}

.btn-secondary {
  background-color: var(--color-accent-blush);
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
}

.btn-outline:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  background-color: rgba(197, 168, 128, 0.03);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--color-bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 7. CINEMATIC VIDEO HERO */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-container video.video-mobile {
  display: none;
}
.hero-video-container video.video-desktop {
  display: block;
}

@media (max-width: 767px) {
  .hero-video-container video.video-mobile {
    display: block;
  }
  .hero-video-container video.video-desktop {
    display: none;
  }
}

/* Dark overlay to ensure white typography readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: 0 1.5rem;
}

.hero-tagline {
  margin-bottom: 1rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  animation: fadeInUp 1s ease;
}

.hero-title {
  margin-bottom: 1.5rem;
  max-width: 900px;
  line-height: 1.15;
  animation: fadeInUp 1.2s ease;
}

.hero-meta {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 2.5rem;
  font-style: italic;
  font-weight: 300;
  animation: fadeInUp 1.4s ease;
}

.hero-actions {
  animation: fadeInUp 1.6s ease;
}

/* 8. LIVE COUNTDOWN & TICKET CARD */
.countdown-section {
  position: relative;
  z-index: 10;
  margin-top: -80px; /* Pulls countdown over the bottom of the hero video */
  padding-bottom: 4rem;
}

.countdown-container {
  background-color: var(--color-card-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2rem;
  border: 1px solid var(--color-border);
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.countdown-item {
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius);
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.countdown-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-gold);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
}

.countdown-finished {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-accent-gold);
  text-align: center;
  width: 100%;
}

.ticket-drive-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.ticket-options {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.ticket-option-card {
  flex: 1;
  min-width: 200px;
  padding: 1.5rem;
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.ticket-option-card:hover {
  background-color: var(--color-card-bg);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-blush);
}

.ticket-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.ticket-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.ticket-features {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* 9. FEATURE & ABOUT CARDS */
.card {
  background-color: var(--color-card-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #eee;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-body {
  padding: 2rem;
}

.card-tag {
  color: var(--color-accent-gold);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.about-row:nth-child(even) {
  flex-direction: row-reverse;
}

.about-col-text {
  flex: 1.2;
}

.about-col-img {
  flex: 0.8;
}

.about-image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 10px solid rgba(253, 251, 247, 0.4);
  pointer-events: none;
}

/* Goody bag / promo badges */
.badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.badge-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.badge-card:hover {
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-md);
}

.badge-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg-primary);
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.badge-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--color-accent-gold);
}

.badge-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.badge-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* 10. INTERACTIVE TIMELINE ELEMENT */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  width: 50%;
  padding: 0 2.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Dot on vertical timeline line */
.timeline-dot {
  position: absolute;
  top: 5px;
  width: 16px;
  height: 16px;
  background-color: var(--color-card-bg);
  border: 3px solid var(--color-accent-gold);
  border-radius: 50%;
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  background-color: var(--color-accent-gold);
  transform: scale(1.35);
}

.timeline-time {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* 11. SPONSORS & VENDOR TEASERS */
.section-sponsors {
  padding: 4.5rem 0;
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.vendor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.sponsor-logo {
  max-width: 140px;
  height: auto;
  opacity: 1;
  transition: var(--transition-normal);
}

.sponsor-logo:hover {
  transform: scale(1.05);
}

.vendor-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 180px;
  max-width: 210px;
  min-width: 160px;
  box-sizing: border-box;
}

.vendor-card:hover {
  border-color: var(--color-accent-blush);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ENLARGED PROMINENT SPONSOR CARDS */
.sponsor-card {
  flex: 1 1 210px;
  max-width: 245px;
  min-width: 180px;
  padding: 2.25rem 1.25rem;
  border: 1.5px solid rgba(197, 168, 128, 0.45);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  background-color: var(--color-card-bg);
}

.sponsor-card:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.25);
  transform: translateY(-5px) scale(1.02);
}

.sponsor-card .vendor-logo-wrapper {
  width: 115px;
  height: 115px;
  border: 2px solid rgba(197, 168, 128, 0.35);
  background-color: #ffffff;
  padding: 12px;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.sponsor-card .vendor-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

.vendor-logo-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.vendor-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.vendor-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Responsive adjustments for mobile: force 2 columns */
@media (max-width: 576px) {
  .section-sponsors {
    padding: 3rem 0;
  }
  .vendor-grid,
  .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .vendor-card {
    flex: none;
    max-width: 100%;
    min-width: 0;
    padding: 1rem 0.5rem;
  }
  .sponsor-card {
    padding: 1.25rem 0.65rem;
  }
  .sponsor-card .vendor-logo-wrapper {
    width: 85px;
    height: 85px;
    margin-bottom: 0.65rem;
    padding: 8px;
  }
  .vendor-logo-wrapper {
    width: 65px;
    height: 65px;
    margin-bottom: 0.5rem;
    padding: 5px;
  }
  .vendor-name {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

/* 12. DYNAMIC ACCORDION FAQ */
.faq-container {
  max-width: 760px;
  margin: 3rem auto 0;
}

.faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.faq-header:hover {
  background-color: var(--color-bg-secondary);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-text-primary);
  transition: var(--transition-normal);
}

/* Horizontal line */
.faq-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-content-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-content {
  max-height: 1000px; /* Arbitrary large height */
  transition: max-height 0.6s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-content-inner {
  border-top-color: var(--color-border);
}

/* 13. GALLERY MASONRY & GRID EFFECTS */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Masonry variations using spans */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.8) 0%, rgba(44, 44, 44, 0.2) 60%, rgba(44, 44, 44, 0) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--color-white);
  transition: var(--transition-normal);
  transform: translateY(10px);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-blush);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.gallery-item-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-blush);
}

/* 14. HTML5 DUAL-PURPOSE FORM STYLING */
.form-card {
  background-color: var(--color-card-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 3rem 2.5rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Modern pill tabs for role selector */
.role-selector {
  display: flex;
  background-color: var(--color-bg-secondary);
  border-radius: 50px;
  padding: 0.35rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--color-border);
}

.role-option {
  flex: 1;
  text-align: center;
}

.role-option input[type="radio"] {
  display: none;
}

.role-option label {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.80rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--color-text-secondary);
}

.role-option input[type="radio"]:checked + label {
  background-color: var(--color-accent-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.form-input,
.form-select,
.form-textarea {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 0.85rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  width: 100%;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent-gold);
  background-color: var(--color-card-bg);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

/* Conditional form fields container */
.conditional-field {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin-bottom 0.4s ease-out;
}

.conditional-field.show {
  max-height: 150px; /* Space for the conditional field */
  opacity: 1;
  margin-bottom: 1.5rem;
}

/* 15. LIGHTBOX & MODAL SCREEN INTERFACES */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-accent-blush);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-accent-gold);
}

.lightbox-nav-prev {
  left: 30px;
}

.lightbox-nav-next {
  right: 30px;
}

/* Success Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 44, 44, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2100;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background-color: var(--color-card-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(197, 168, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--color-accent-gold);
}

/* 16. STATIC FOOTER LAYOUT */
.footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 45px;
  align-self: flex-start;
}

.footer-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.footer-link:hover {
  color: var(--color-accent-gold);
  transform: translateX(3px);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-secondary);
}

.social-icon:hover {
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

.social-icon:hover svg {
  fill: var(--color-white);
}

.footer-contact-info {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/10;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* 17. ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 18. BREAKPOINTS (RESPONSIVE ADAPTATIONS) */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .about-row {
    gap: 2.5rem;
  }

  .lightbox-nav-prev {
    left: 20px;
  }

  .lightbox-nav-next {
    right: 20px;
  }
}

/* Mobile Devices & Small Tablets */
@media (max-width: 767px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 60px;
  }

  .desktop-only-cta {
    display: none !important;
  }

  .mobile-only-cta {
    display: block !important;
    width: 100%;
    margin-top: 1.5rem;
  }

  .mobile-only-cta .ticket-cta {
    width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: center;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  /* Header mobile toggle & navigation overlay */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-card-bg);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
    z-index: 1005;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Hamburger transform when menu is active */
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content {
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* Timeline adjustment to single column */
  .timeline::before {
    left: 1.5rem;
  }

  .timeline-item {
    width: 100%;
    padding: 0 0 0 3.5rem;
    margin-bottom: 2.5rem;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 1rem;
    right: auto;
  }

  .about-row {
    flex-direction: column !important;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .about-col-img {
    width: 100%;
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .footer {
    padding: 3.5rem 0 2rem 0;
    text-align: center;
  }

  .footer-logo{
    align-self: center;
  }

  .footer-socials{
    align-self: center;
  }

  .countdown-container {
    padding: 2.5rem 1rem;
  }

  .countdown-wrapper {
    gap: 0.85rem;
  }

  .countdown-item {
    width: 75px;
    height: 75px;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.6rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-auto-rows: 150px;
    gap: 0.85rem;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .lightbox-content-wrapper {
    max-width: 95%;
  }

  .lightbox-nav {
    display: none; /* Hide arrows on mobile touch screens */
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  /* Centering and spacing fixes on mobile viewports */
  .about-col-text,
  .card-body,
  .section p,
  .section-alt p {
    text-align: center;
  }

  .about-row,
  .grid,
  .flex {
    justify-content: center !important;
    align-items: center !important;
  }

  /* Hero adjustments */
  .hero-content {
    padding-top: var(--header-height);
  }

  .hero-tagline {
    margin-bottom: 1.25rem !important;
  }

  .hero-title {
    margin-bottom: 1.25rem !important;
    line-height: 1.3;
  }

  .hero-meta {
    margin-bottom: 2rem !important;
    line-height: 1.4;
    font-weight:bold;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }

  /* Centering overrides for mobile viewports */
  #about .about-col-text h2,
  .contact-info-col h2 {
    text-align: center !important;
  }
  #about .about-col-text h2::after,
  .contact-info-col h2::after {
    margin: 0.75rem auto 0 !important;
  }

  .contact-info-col {
    text-align: center !important;
  }
  .contact-info-col .footer-contact-info {
    text-align: center !important;
  }
  .contact-info-col .footer-contact-info div {
    text-align: center !important;
  }
  .contact-info-col .footer-contact-info strong {
    display: block !important;
    text-align: center !important;
  }
}

/* Desktop-only overrides */
@media (min-width: 768px) {
  #about .about-col-text h2,
  .contact-info-col h2 {
    text-align: left;
  }
  #about .about-col-text h2::after,
  .contact-info-col h2::after {
    margin: 0.75rem 0 0;
  }
}

/* Infinite Scrolling Logo Slider / Marquee */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
  display: flex;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.logo-slider-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 25s linear infinite;
  gap: 4rem;
}

.logo-slider-track:hover {
  animation-play-state: paused; /* Pause scrolling on hover */
}

.logo-slider-track img {
  height: 45px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 1;
  transition: var(--transition-normal);
}

.logo-slider-track img:hover {
  transform: scale(1.05);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Scroll exactly half to create seamless loop */
  }
}

/* 17. EXPO PROGRAM & DAY SCHEDULE PAGE STYLES */
.program-hero {
  background: linear-gradient(135deg, rgba(44, 44, 44, 0.92) 0%, rgba(20, 20, 20, 0.95) 100%), url('../images/2025/Bridal-Expo-(9-Aug-2025)-064.png');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 6.5rem 0 2.5rem;
  text-align: center;
}

.program-badge {
  display: inline-block;
  background: rgba(197, 168, 128, 0.2);
  border: 1px solid var(--color-accent-gold);
  color: var(--color-accent-gold);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.program-section {
  padding: 2.5rem 0 4rem;
}

.compact-timeline {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

/* Compact Vertical Timeline */
.compact-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 120px;
  width: 2px;
  height: 100%;
  background-color: var(--color-border);
}

.program-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  position: relative;
}

.program-time-col {
  width: 110px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 1.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-accent-gold);
  padding-top: 0.75rem;
  letter-spacing: 0.02em;
}

.program-dot-col {
  position: absolute;
  left: 114px;
  top: 12px;
  width: 14px;
  height: 14px;
  background-color: var(--color-card-bg);
  border: 3px solid var(--color-accent-gold);
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.2s ease;
}

.program-row:hover .program-dot-col {
  transform: scale(1.3);
  background-color: var(--color-accent-gold);
}

.program-content-col {
  flex: 1;
  margin-left: 2rem;
}

.program-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.program-row:hover .program-card {
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.program-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-primary);
}

.program-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

/* Grand Prize Highlight Row */
.grand-prize-row .program-dot-col {
  background-color: var(--color-accent-gold);
  transform: scale(1.3);
}

.grand-prize-row .program-card {
  border: 2px solid var(--color-accent-gold) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%) !important;
  box-shadow: 0 4px 18px rgba(197, 168, 128, 0.25) !important;
}

.grand-prize-row .program-title {
  color: #b7791f;
  font-size: 1.2rem;
}

.grand-prize-tag {
  display: inline-block;
  background: var(--color-accent-gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Responsive Mobile Layout for Program */
@media (max-width: 640px) {
  .compact-timeline::before {
    left: 15px;
  }
  .program-row {
    flex-direction: column;
    padding-left: 2rem;
  }
  .program-time-col {
    width: 100%;
    text-align: left;
    padding-right: 0;
    padding-top: 0;
    margin-bottom: 0.25rem;
  }
  .program-dot-col {
    left: 9px;
    top: 3px;
  }
  .program-content-col {
    width: 100%;
    margin-left: 0;
  }
}

/* Print styling rules */
@media print {
  .header, .footer, .btn, .lightbox { display: none !important; }
  .program-hero { padding: 1.5rem 0; color: #000; background: none; }
  .compact-timeline::before { left: 80px; }
  .program-time-col { width: 75px; font-size: 0.8rem; }
  .program-dot-col { left: 74px; }
}
