/* ==========================================================================
   ANVARLI EVENT MANAGERS — Production Stylesheet
   Bengali Wedding & Event Management (Kolkata, West Bengal)
   Solid Royal Luxury Bengali-Wedding Palette (Deep Maroon & Royal Gold)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Royal Luxury Bengali Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ultra-Luxury Royal Obsidian Noir & 24K Gold Design Tokens */
  --color-bg-base: #060205;          /* Deepest Imperial Obsidian Noir */
  --color-bg-garnet: #100207;        /* Nocturnal Royal Velvet Wine */
  --color-bg-card: rgba(22, 4, 10, 0.84);  /* Translucent Royal Velvet Glass */
  --color-bg-card-hover: rgba(36, 6, 16, 0.94);
  --color-bg-alt: #040103;          /* Infinite Onyx Noir */
  
  /* Luminous 24K Royal Gold Tones */
  --color-gold: #D4AF37;            /* Royal Wedding 24K Gold */
  --color-gold-light: #FBF0CC;      /* Luminous Champagne Gold */
  --color-gold-warm: #E8B953;       /* Warm Amber Gold Accent */
  --color-gold-deep: #B38210;       /* Rich Antique Gold */
  --color-gold-border: rgba(212, 175, 55, 0.35);
  --color-gold-glow: rgba(212, 175, 55, 0.28);
  --color-gold-shimmer: rgba(251, 240, 204, 0.4);

  /* Accessible High-Contrast Warm Ivory Text */
  --color-text-main: #FFFDF8;       /* Luminous Warm Ivory (> 17:1 contrast) */
  --color-text-muted: #EADBCE;      /* Warm Silken Cream (> 12:1 contrast) */
  --color-text-faint: #BFAEA0;      /* Tertiary Faint Text (> 8:1 contrast) */
  --color-white: #FFFFFF;

  /* Hairlines & Luxury Borders */
  --color-hairline: rgba(212, 175, 55, 0.28);
  --color-hairline-subtle: rgba(212, 175, 55, 0.16);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --container-pad: 1.5rem;
  --section-spacing-y: clamp(4.5rem, 8vw, 7.5rem);

  /* Elevation & Transitions */
  --radius-subtle: 4px;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
}

/* --------------------------------------------------------------------------
   2. Modern Reset & Box-Sizing
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg-base);
  background-image: 
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(212, 175, 55, 0.20) 0%, rgba(135, 16, 42, 0.22) 36%, rgba(6, 2, 5, 0.96) 80%),
    radial-gradient(circle 900px at 5% 35%, rgba(145, 18, 44, 0.18) 0%, rgba(212, 175, 55, 0.08) 32%, transparent 65%),
    radial-gradient(circle 950px at 95% 65%, rgba(212, 175, 55, 0.14) 0%, rgba(120, 14, 36, 0.14) 34%, transparent 68%),
    radial-gradient(ellipse 90% 70% at 50% 90%, rgba(130, 16, 38, 0.16) 0%, rgba(6, 2, 5, 0.96) 75%),
    url("assets/patterns/kolka-gold.svg");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 1300px, 1000px 1000px, 950px 950px, 100% 1100px, 130px 130px;
  background-position: top center, left center, right center, bottom center, center center;
  background-attachment: scroll, fixed, fixed, fixed, fixed;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, canvas {
  display: block;
  max-width: 100%;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. Keyboard Accessibility Focus States
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-subtle);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background-color: var(--color-gold);
  color: var(--color-bg-base);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 var(--radius-subtle) var(--radius-subtle);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   4. Reusable Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-padding {
  padding-top: var(--section-spacing-y);
  padding-bottom: var(--section-spacing-y);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 820px;
}

.section-header.text-left {
  text-align: left;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-warm);
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 24px rgba(212, 175, 55, 0.22);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-subtle);
  transition: all var(--transition-fast);
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #C98A2B 0%, #D4AF37 50%, #B8860B 100%);
  color: #180306;
  border-color: #D4AF37;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-gold-light);
  border-color: var(--color-gold);
}

.btn-secondary:hover {
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--color-text-main);
}

.btn-whatsapp {
  background-color: #1A5E33;
  color: #FFFFFF;
  border: 1px solid #288E4F;
  box-shadow: 0 4px 15px rgba(26, 94, 51, 0.35);
}

.btn-whatsapp:hover {
  background-color: #154E2A;
  border-color: #34B063;
  box-shadow: 0 6px 20px rgba(26, 94, 51, 0.5);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. Site Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background-color var(--transition-smooth), 
              padding var(--transition-smooth), 
              box-shadow var(--transition-smooth), 
              border-color var(--transition-smooth);
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35), 0 4px 10px rgba(0, 0, 0, 0.8);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.08);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.65), 0 6px 16px rgba(0, 0, 0, 0.9);
}

.brand-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold-light);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  transition: all var(--transition-fast);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--color-gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 14px rgba(212, 175, 55, 0.35);
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-top: 0.25rem;
  color: var(--color-gold-warm);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-main);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-cta-link {
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-subtle);
  background: linear-gradient(135deg, #C98A2B 0%, #D4AF37 100%);
  color: #180306 !important;
  font-weight: 700;
  border: 1px solid var(--color-gold);
  text-shadow: none !important;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.nav-cta-link:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 100%);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.mobile-menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(36, 4, 9, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-subtle);
  z-index: 1001;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background-color: rgba(36, 4, 9, 0.95);
  border-color: var(--color-gold);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--color-gold-light);
  border-radius: 1px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Header Scrolled State (Over Deep Obsidian Velvet Site) */
.site-header.scrolled {
  background-color: rgba(6, 2, 5, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(247, 231, 180, 0.18);
}

/* --------------------------------------------------------------------------
   6. Hero Section: Scroll-Scrub Animation
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-base);
  min-height: calc(100vh + 720px);
}

.hero-sticky-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.05) brightness(1.02) saturate(1.06);
  transition: filter var(--transition-smooth);
}

.hero-reduced-motion-img {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Scrim Gradient for Guaranteed Text Legibility while preserving clarity & vibrant detail of garland exchange */
.hero-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(6, 2, 5, 0.94) 0%,
    rgba(12, 2, 5, 0.50) 28%,
    rgba(18, 3, 7, 0.16) 55%,
    rgba(6, 2, 5, 0.04) 100%
  );
}

/* Preload Loading Screen */
.hero-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: var(--color-bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 360px;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spinnerRotate 0.9s linear infinite;
  margin-bottom: 1.25rem;
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.loader-bar-track {
  width: 180px;
  height: 3px;
  background-color: rgba(255, 248, 238, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background-color: var(--color-gold);
  transition: width 0.15s ease-out;
}

/* Hero Typography Content (Bottom-Left) */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 6rem;
}

.hero-text-block {
  max-width: 820px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 4.25rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}

.hero-subhead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 680px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-gold-warm);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-indicator-line {
  display: block;
  width: 28px;
  height: 1px;
  background-color: var(--color-gold);
  position: relative;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background-color: var(--color-gold);
  border-radius: 50%;
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* --------------------------------------------------------------------------
   7. Services Section (17 Categories Royal Grid)
   -------------------------------------------------------------------------- */
.services-section {
  background: radial-gradient(ellipse 90% 60% at 50% 50%, rgba(95, 12, 30, 0.35) 0%, rgba(6, 2, 5, 0.88) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: inset 0 1px 0 rgba(247, 231, 180, 0.22), inset 0 -1px 0 rgba(247, 231, 180, 0.12);
  position: relative;
}

.services-grid-17 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card-item {
  background: linear-gradient(165deg, rgba(28, 4, 11, 0.85) 0%, rgba(10, 2, 5, 0.94) 100%);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(247, 231, 180, 0.20), 0 0 20px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px var(--color-gold-glow), inset 0 1px 0 rgba(247, 231, 180, 0.45);
}

.service-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #120204;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card-item:hover .service-card-img {
  transform: scale(1.04);
}

/* "Needs Image" Badge on Service Cards */
.service-needs-image-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(26, 3, 7, 0.88);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-warm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.service-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-category {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-gold-light);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  transition: color var(--transition-fast);
}

.service-card-item:hover .service-card-category {
  color: var(--color-text-main);
}

.service-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gold-warm);
  margin-bottom: 0.65rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. Gallery Section
   -------------------------------------------------------------------------- */
.gallery-section {
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(212, 175, 55, 0.08) 0%, rgba(6, 2, 5, 0.85) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gold-border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.gallery-item {
  margin: 0;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  border-radius: var(--radius-subtle);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(28, 4, 11, 0.85) 0%, rgba(10, 2, 5, 0.94) 100%);
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(247, 231, 180, 0.20);
  transition: border-color var(--transition-fast), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.gallery-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85), 0 0 24px var(--color-gold-glow), inset 0 1px 0 rgba(247, 231, 180, 0.45);
}

.gallery-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #120204;
}

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

.gallery-card:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(24, 3, 6, 0.88);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-subtle);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition-fast);
}

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

.gallery-caption {
  padding: 1.25rem;
}

.gallery-item-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 0.25rem;
}

.gallery-item-location {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 2, 4, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2001;
  max-width: 900px;
  width: 100%;
  background-color: var(--color-bg-garnet);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-subtle);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-gold-light);
  background-color: rgba(24, 3, 6, 0.9);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  z-index: 2002;
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-base);
}

.lightbox-body {
  width: 100%;
}

.lightbox-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lightbox-caption {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-gold-light);
  border-top: 1px solid var(--color-gold-border);
}

/* --------------------------------------------------------------------------
   9. Process Section (Authentic Sequence)
   -------------------------------------------------------------------------- */
.process-section {
  background: radial-gradient(ellipse 85% 60% at 50% 50%, rgba(110, 14, 36, 0.32) 0%, rgba(6, 2, 5, 0.88) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: inset 0 1px 0 rgba(247, 231, 180, 0.18), inset 0 -1px 0 rgba(247, 231, 180, 0.12);
}

.process-sequence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.process-step {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(28, 4, 11, 0.85) 0%, rgba(10, 2, 5, 0.94) 100%);
  padding: 1.75rem;
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-subtle);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(247, 231, 180, 0.18);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85), 0 0 25px var(--color-gold-glow), inset 0 1px 0 rgba(247, 231, 180, 0.4);
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.process-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.process-rule {
  flex: 1;
  height: 1px;
  background-color: var(--color-gold-border);
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 0.65rem;
}

.process-summary {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(212, 175, 55, 0.09) 0%, rgba(6, 2, 5, 0.84) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gold-border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.testimonial-card {
  background: linear-gradient(165deg, rgba(28, 4, 11, 0.88) 0%, rgba(10, 2, 5, 0.95) 100%);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--color-gold-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(247, 231, 180, 0.18);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85), 0 0 25px var(--color-gold-glow), inset 0 1px 0 rgba(247, 231, 180, 0.4);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 1rem;
}

.author-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-gold-light);
}

.author-meta {
  display: block;
  font-size: 0.825rem;
  color: var(--color-text-faint);
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   11. Service Area Section
   -------------------------------------------------------------------------- */
.service-area-section {
  background: radial-gradient(ellipse 85% 55% at 50% 50%, rgba(100, 12, 32, 0.32) 0%, rgba(6, 2, 5, 0.88) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: inset 0 1px 0 rgba(247, 231, 180, 0.18), inset 0 -1px 0 rgba(247, 231, 180, 0.12);
}

.service-area-panel {
  border: 1px solid var(--color-gold-border);
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(165deg, rgba(28, 4, 11, 0.88) 0%, rgba(10, 2, 5, 0.95) 100%);
  border-radius: var(--radius-subtle);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(247, 231, 180, 0.20);
}

.service-area-header {
  max-width: 840px;
  margin-bottom: 2.25rem;
}

.service-area-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--color-gold-light);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.service-area-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.district-badge {
  padding: 0.85rem 1rem;
  background-color: rgba(24, 3, 6, 0.7);
  border: 1px solid var(--color-gold-border);
  border-left: 3px solid var(--color-gold);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-gold-light);
}

.service-area-note {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 860px;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   12. Contact & Enquiry Section
   -------------------------------------------------------------------------- */
.contact-section {
  background: radial-gradient(ellipse 90% 65% at 50% 35%, rgba(212, 175, 55, 0.12) 0%, rgba(115, 15, 38, 0.20) 45%, rgba(6, 2, 5, 0.92) 85%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.channel-item {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gold-warm);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.channel-value {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-gold-light);
}

.channel-value:hover {
  color: var(--color-text-main);
}

.channel-address {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.whatsapp-channel {
  margin-bottom: 0.5rem;
}

.btn-whatsapp {
  width: 100%;
  max-width: 320px;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

/* Enquiry Form Styling */
.form-container {
  background: linear-gradient(165deg, rgba(28, 4, 11, 0.90) 0%, rgba(10, 2, 5, 0.96) 100%);
  border: 1px solid var(--color-gold-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-subtle);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(247, 231, 180, 0.22), 0 0 25px rgba(212, 175, 55, 0.10);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.required-mark {
  color: #FFB3BA;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: rgba(18, 2, 5, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-text-main);
  font-size: 0.95rem;
  border-radius: var(--radius-subtle);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF37' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-error-msg {
  display: none;
  font-size: 0.825rem;
  color: #FFB3BA;
  margin-top: 0.35rem;
}

.form-group.has-error .form-control {
  border-color: #E63946;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-actions .btn-primary {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Submission Confirmation Card */
.form-confirmation {
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-confirmation[hidden] {
  display: none;
}

.confirmation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-bg-base);
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-gold-light);
  margin-bottom: 0.75rem;
}

.confirmation-message {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 1.75rem auto;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, rgba(10, 2, 5, 0.98) 0%, #040102 100%);
  color: var(--color-text-main);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem 0;
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(247, 231, 180, 0.3);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 90px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.2);
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.footer-logo-img:hover {
  transform: scale(1.03);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  display: block;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

.footer-brand-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-gold-warm);
  margin-top: 0.3rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-gold-warm);
  margin-bottom: 0.5rem;
}

.footer-location-line {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-heading {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

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

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

/* --------------------------------------------------------------------------
   14. Restrained Scroll Reveals (Single-Trigger)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   15. Accessibility & Reduced Motion Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Hero: Skip scroll pinning and frame scrubbing completely */
  .hero-section {
    min-height: auto !important;
    height: auto !important;
  }

  .hero-sticky-wrapper {
    position: relative !important;
    height: 85vh !important;
    min-height: 540px !important;
  }

  .hero-canvas {
    display: none !important;
  }

  .hero-loader {
    display: none !important;
  }

  /* Show final frame as crisp static image */
  .hero-reduced-motion-img {
    display: block !important;
  }

  .hero-scroll-hint {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints & Mobile-First Optimization
   -------------------------------------------------------------------------- */

/* Tablet & Smaller Screens (< 1024px) */
@media (max-width: 1024px) {
  .services-grid-17 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-sequence {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .districts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: span 2;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.15rem;
  }

  /* Mobile Navigation Drawer */
  .mobile-menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background-color: #0E0205;
    background-image: 
      radial-gradient(ellipse 90% 50% at 50% 0%, rgba(212, 175, 55, 0.18) 0%, rgba(110, 14, 34, 0.22) 50%, rgba(6, 2, 5, 0.95) 90%),
      url("assets/patterns/kolka-gold.svg");
    background-size: 100% 300px, 100px 100px;
    border-left: 1px solid var(--color-gold-border);
    padding: 6rem 2rem 2rem 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 1000;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }

  .site-nav .nav-link {
    font-size: 1.25rem;
    color: var(--color-gold-light) !important;
    text-shadow: none !important;
  }

  .site-nav .nav-cta-link {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  /* Hamburger active state transforms */
  .mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--color-gold);
  }
  .mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--color-gold);
  }

  /* Hero Mobile Refinements */
  .hero-headline {
    font-size: clamp(1.85rem, 6.2vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-subhead {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  /* Services Grid Single Column on Mobile */
  .services-grid-17 {
    grid-template-columns: 1fr;
  }

  /* Gallery Single Column on Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials Single Column on Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row-dual {
    grid-template-columns: 1fr;
  }

  .districts-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile Screens Down to 375px */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

  .hero-headline {
    font-size: clamp(1.65rem, 6.8vw, 1.95rem);
    line-height: 1.15;
  }

  .hero-subhead {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-monogram {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.1rem;
  }
}
