/* ============================================
   EL GENIO ESTATE - Design System
   "Nocturnal Jungle" / Organic Brutalism Theme
   ============================================ */

/* ============================================
   1. CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* The Color Palette (Dark & Organic) */
  --canvas: #080905;
  /* The Void - Deepest Jungle Green (never pure black) */
  --surface: #1A1C18;
  /* The Stone - Volcanic Rock */
  --surface-glass: rgba(26, 28, 24, 0.95);
  --text-primary: #E3E3E3;
  /* The Mist - Off-white/fog */
  --text-secondary: #A8A8A6;
  /* Muted text */
  --accent: #3D9970;
  /* The Jungle - Deep Emerald Green */
  --accent-hover: #4DB585;
  /* Brighter green for hover */
  --accent-bright: #5DCB95;
  /* Brightest green for special effects */
  --interactive-start: #1E5045;
  /* The River - Start (Deep jungle teal) */
  --interactive-end: #3D9970;
  /* The River - End (Jungle Green) */
  --error: #C79645;
  /* Muted amber for errors (not bright red) */

  /* Typography Scale */
  --font-display: 'Cinzel Decorative', serif;
  --font-body: 'Manrope', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 5rem;
  --text-8xl: 6rem;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Cinematic Whitespace */
  --section-gap: 150px;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-reveal: 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Shadows */
  --shadow-glow: 0 0 30px rgba(61, 153, 112, 0.25);
  --shadow-surface: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ============================================
   2. Base Reset & Typography
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Manrope:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--canvas);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Selection Styling */
::selection {
  background-color: var(--accent);
  color: var(--canvas);
}

/* ============================================
   3. Typography Styles
   ============================================ */

/* Display Headings - Massive, Thin, Widely Spaced */
h1 {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-primary);
}

h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Body Text */
p {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 65ch;
}

p.lead {
  font-size: var(--text-xl);
  color: var(--text-primary);
}

/* Gold Accent Text */
.text-gold {
  color: var(--accent);
}

/* ============================================
   4. Links & Interactive Elements
   ============================================ */

/* Gold Underline Links - Draws from center-out on hover */
a {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-base);
}

a:not(.btn):not(.nav-link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width var(--transition-base), left var(--transition-base);
}

a:not(.btn):not(.nav-link):hover::after {
  width: 100%;
  left: 0;
}

a:hover {
  color: var(--accent);
}

/* Text + Line Buttons (El Genio Style) */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2) 0;
  transition: color var(--transition-base);
}

.btn-line::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  transition: width var(--transition-slow), transform var(--transition-base);
}

.btn-line:hover {
  color: var(--accent);
}

.btn-line:hover::after {
  width: 80px;
  transform: translateX(5px);
}

/* Arrow appears on hover */
.btn-line.with-arrow::after {
  content: '';
  background: linear-gradient(to right, var(--accent) 90%, transparent 90%);
  background-size: 100% 100%;
}

.btn-line.with-arrow:hover::after {
  background: linear-gradient(to right, var(--accent) 85%, transparent 85%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%),
    linear-gradient(-135deg, var(--accent) 50%, transparent 50%);
  background-size: calc(100% - 8px) 1px, 6px 4px, 6px 4px;
  background-position: 0 center, right top, right bottom;
  background-repeat: no-repeat;
}

/* Magnetic Circular Reserve Button */
.btn-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.btn-reserve::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--interactive-start), var(--interactive-end));
  opacity: 0;
  transition: opacity var(--transition-slow);
  border-radius: var(--radius-full);
}

.btn-reserve:hover {
  color: var(--text-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.btn-reserve:hover::before {
  opacity: 1;
}

.btn-reserve span {
  position: relative;
  z-index: 1;
}

/* ============================================
   5. Navigation Styles
   ============================================ */

/* Four-Point Navigation Frame (Desktop) */
.nav-frame {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1000;
  padding: var(--space-6) var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Centered Logo */
.nav-logo-center {
  position: fixed;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
  z-index: 1002;
}

.nav-logo-center::after {
  display: none;
}

.nav-logo-img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-base), filter var(--transition-base);
}

.nav-logo-center:hover .nav-logo-img {
  transform: scale(1.05);
}

/* Hamburger Menu - Right Side */
.nav-menu-toggle {
  position: fixed;
  top: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-menu-right {
  left: auto;
  right: var(--space-8);
  transform: none;
}

.nav-link {
  pointer-events: auto;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--transition-base);
  opacity: 0.9;
}

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

/* Nav links positioned on sides */
.nav-estate {
  position: fixed;
  top: var(--space-8);
  left: var(--space-8);
  pointer-events: auto;
}

.nav-river {
  position: fixed;
  top: var(--space-8);
  right: calc(var(--space-8) + 80px);
  pointer-events: auto;
}

.nav-reserve {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  pointer-events: auto;
}

/* Language Switcher */
.nav-lang {
  position: fixed;
  top: var(--space-8);
  left: var(--space-8);
  z-index: 1002;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  display: flex;
  gap: var(--space-2);
  pointer-events: auto;
}

.nav-lang a {
  opacity: 0.5;
  transition: opacity var(--transition-base), color var(--transition-base);
}

.nav-lang a.active,
.nav-lang a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-lang span {
  opacity: 0.3;
}

.nav-menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--text-primary);
  transition: all var(--transition-base);
}

.nav-menu-toggle:hover span {
  background-color: var(--accent);
}

/* Full Screen Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--canvas);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close button styling */
.menu-close {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  padding: var(--space-2);
  line-height: 1;
  transition: color var(--transition-base), transform var(--transition-base);
  z-index: 10;
}

.menu-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* Hide cursor spotlight when overlay is active */
.menu-overlay.active~.cursor-spotlight,
body:has(.menu-overlay.active) .cursor-spotlight {
  opacity: 0 !important;
  visibility: hidden !important;
}

.menu-overlay-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.15;
}

.menu-overlay-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.menu-overlay-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.menu-overlay-nav a {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  letter-spacing: 0.2em;
  color: var(--text-primary);
  opacity: 0.7;
  transition: opacity var(--transition-base), color var(--transition-base);
}

.menu-overlay-nav a::after {
  display: none;
}

.menu-overlay-nav a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Mobile Floating Island Bar */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-surface);
}

.mobile-nav-list {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.mobile-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-nav-item a:hover,
.mobile-nav-item.active a {
  color: var(--accent);
}

.mobile-nav-item a::after {
  display: none;
}

.mobile-nav-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* Show mobile nav on small screens */
@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }

  .nav-menu-toggle {
    display: none;
  }

  /* Hide desktop nav elements on mobile */
  .nav-estate,
  .nav-river,
  .nav-reserve {
    display: none;
  }

  /* Mobile centered logo - ensure visibility */
  .nav-logo-center {
    top: var(--space-4);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1002;
  }

  .nav-logo-img {
    height: 50px;
  }

  /* Prevent horizontal overflow from any element */
  .section,
  .container {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* ============================================
   6. Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Ken Burns Slideshow Container */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  will-change: transform;
}

/* Ken Burns zoom/pan animations - different for each slide */
/* Uses forwards fill-mode so animation stays at end state */
.hero-slide:nth-child(1) img {
  animation: kenBurns1 8s ease-out forwards;
}

.hero-slide:nth-child(2) img {
  animation: kenBurns2 8s ease-out forwards;
}

.hero-slide:nth-child(3) img {
  animation: kenBurns3 8s ease-out forwards;
}

.hero-slide:nth-child(4) img {
  animation: kenBurns4 8s ease-out forwards;
}

.hero-slide:nth-child(5) img {
  animation: kenBurns5 8s ease-out forwards;
}

.hero-slide:nth-child(6) img {
  animation: kenBurns6 8s ease-out forwards;
}

@keyframes kenBurns1 {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.25) translate(-3%, -2%);
  }
}

@keyframes kenBurns2 {
  0% {
    transform: scale(1.2) translate(-2%, 0);
  }

  100% {
    transform: scale(1) translate(3%, 2%);
  }
}

@keyframes kenBurns3 {
  0% {
    transform: scale(1) translate(2%, 2%);
  }

  100% {
    transform: scale(1.25) translate(-2%, -1%);
  }
}

@keyframes kenBurns4 {
  0% {
    transform: scale(1.3) translate(0, -2%);
  }

  100% {
    transform: scale(1.05) translate(3%, 1%);
  }
}

@keyframes kenBurns5 {
  0% {
    transform: scale(1.05) translate(-2%, 2%);
  }

  100% {
    transform: scale(1.3) translate(1%, -2%);
  }
}

@keyframes kenBurns6 {
  0% {
    transform: scale(1.2) translate(0, 0);
  }

  100% {
    transform: scale(1) translate(-3%, 2%);
  }
}

/* Vignette Effect */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--canvas) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8);
  animation: fadeInUp 2s ease-out;
}

.hero-title {
  font-size: var(--text-7xl);
  margin-bottom: var(--space-6);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-16);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ============================================
   7. Section Styles
   ============================================ */
.section {
  padding: var(--section-gap) var(--space-8);
  position: relative;
}

.section-dark {
  background-color: var(--canvas);
}

.section-surface {
  background-color: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-20);
}

.section-header h2 {
  margin-bottom: var(--space-6);
}

.section-header p {
  margin: 0 auto;
  color: var(--text-secondary);
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse>* {
  direction: ltr;
}

/* ============================================
   8. Cards & Surfaces
   ============================================ */
.card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-feature {
  text-align: center;
  padding: var(--space-10);
}

.card-feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-6);
  color: var(--accent);
}

.card-feature h4 {
  margin-bottom: var(--space-3);
}

.card-feature p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0 auto;
}

/* Amenities grid responsive */
@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-3) !important;
  }

  .card-feature {
    padding: var(--space-6);
  }

  .card-feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--space-4);
  }

  .card-feature h4 {
    font-size: var(--text-base);
  }

  .card-feature p {
    font-size: var(--text-sm);
  }
}

/* ============================================
   Card Hover Image Effect (Journey Cards)
   ============================================ */
.card-hover-image {
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card-hover-image .card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

/* Dark overlay to ensure text stays readable */
.card-hover-image .card-bg-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(8, 9, 5, 0.5), rgba(8, 9, 5, 0.7));
}

.card-hover-image .card-content {
  position: relative;
  z-index: 1;
}

.card-hover-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-hover-image:hover .card-bg-image {
  opacity: 1;
}

/* Journey cards responsive */
@media (max-width: 768px) {
  .journey-cards {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }

  .card-hover-image .card-bg-image {
    opacity: 0.3;
  }
}

/* ============================================
   9. Image Styles
   ============================================ */
.img-reveal {
  overflow: hidden;
  position: relative;
}

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

.img-reveal:hover img {
  transform: scale(1.05);
}

/* Parallax Mask Effect */
.parallax-mask {
  position: relative;
  overflow: hidden;
  height: 60vh;
  clip-path: inset(0);
}

.parallax-mask img {
  position: fixed;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* ============================================
   10. Gallery Styles
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  /* Fix moiré and pixelation on downscaled images */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
  transform: translateZ(0);
}

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

/* Horizontal Scroll Gallery (Gastronomy) */
.gallery-scroll {
  display: flex;
  gap: var(--space-8);
  overflow-x: auto;
  padding: var(--space-8) 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-scroll-item {
  flex: 0 0 400px;
  scroll-snap-align: center;
}

/* ============================================
   11. Menu/Gastronomy Drawer
   ============================================ */
.drawer {
  position: fixed;
  top: 0;
  right: -500px;
  width: 500px;
  max-width: 100%;
  height: 100vh;
  background: var(--surface);
  z-index: 1002;
  transition: right var(--transition-slow);
  overflow-y: auto;
  padding: var(--space-16) var(--space-8);
}

.drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-2);
}

.drawer-close:hover {
  color: var(--accent);
}

/* Menu Item Styles */
.menu-section {
  margin-bottom: var(--space-12);
}

.menu-section h3 {
  color: var(--accent);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--accent);
}

.menu-item {
  margin-bottom: var(--space-6);
}

.menu-item h4 {
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.menu-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   12. Form Styles (Underline-Only)
   ============================================ */
.form-group {
  margin-bottom: var(--space-8);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-secondary);
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  transition: border-color var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

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

.form-error {
  color: var(--error);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

/* Form row for 2-column layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Mobile gallery responsive styles */
@media (max-width: 768px) {
  .gallery-grid {
    gap: var(--space-2);
  }

  .gallery-item {
    aspect-ratio: 1/1;
  }
}

/* ============================================
   13. Footer Styles
   ============================================ */
.footer {
  background: var(--surface);
  padding: var(--space-20) var(--space-8) calc(var(--space-8) + 80px);
  position: relative;
  z-index: 1001;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.footer-brand h3 {
  font-family: var(--font-display);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.footer-links h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Tide Data Widget */
.tide-widget {
  display: flex;
  gap: var(--space-8);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.tide-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tide-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
}

.tide-value {
  color: var(--accent);
}

/* ============================================
   14. Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Fade Up and Unblur Reveal */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(30px);
  transition: opacity var(--transition-reveal),
    filter var(--transition-reveal),
    transform var(--transition-reveal);
}

.reveal.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal-stagger>*:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger>*:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(5) {
  transition-delay: 0.4s;
}

/* ============================================
   15. Utility Classes
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
}

.container-lg {
  max-width: 1600px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-16 {
  margin-bottom: var(--space-16);
}

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.hidden {
  display: none;
}

/* ============================================
   16. Sound Toggle Widget
   ============================================ */
.sound-toggle {
  position: fixed;
  bottom: var(--space-8);
  left: var(--space-8);
  z-index: 100;
  display: none;
  /* Hidden to prevent overlap - feature placeholder */
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.sound-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.sound-toggle-icon {
  width: 16px;
  height: 16px;
}

/* ============================================
   17. Bioluminescent Plankton Cursor Effect
   ============================================ */

/* Subtle ambient glow - bioluminescent cyan */
.cursor-spotlight {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
      rgba(0, 255, 255, 0.08) 0%,
      rgba(0, 212, 255, 0.03) 40%,
      transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

body:hover .cursor-spotlight {
  opacity: 1;
}

/* Base plankton particle - Apple-style refined */
.plankton-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  border-radius: 50%;
  will-change: transform, opacity;
}

/* Mobile scroll particles - even smoother */
.plankton-particle.scroll-particle {
  position: absolute;
}

/* Micro particles - soft white dust */
.plankton-particle.micro {
  width: 4px;
  height: 4px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(200, 240, 255, 0.4) 50%,
      transparent 100%);
  filter: blur(0.5px);
  animation: appleDust 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Small particles - soft cyan glow */
.plankton-particle.small {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(120, 220, 255, 0.6) 40%,
      rgba(64, 180, 220, 0.2) 70%,
      transparent 100%);
  filter: blur(0.5px);
  box-shadow: 0 0 8px rgba(100, 200, 255, 0.4);
  animation: appleFloat 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Medium particles - ethereal orb */
.plankton-particle.medium {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(150, 230, 255, 0.5) 30%,
      rgba(80, 180, 230, 0.2) 60%,
      transparent 100%);
  filter: blur(1px);
  box-shadow:
    0 0 12px rgba(120, 200, 255, 0.35),
    0 0 24px rgba(100, 180, 240, 0.15);
  animation: appleOrb 2.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Large particles - premium glow sphere */
.plankton-particle.large {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(180, 230, 255, 0.5) 25%,
      rgba(100, 190, 240, 0.25) 50%,
      rgba(60, 150, 200, 0.1) 75%,
      transparent 100%);
  filter: blur(1.5px);
  box-shadow:
    0 0 20px rgba(150, 210, 255, 0.3),
    0 0 40px rgba(100, 180, 240, 0.15),
    0 0 60px rgba(80, 160, 220, 0.08);
  animation: appleSphere 3.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Sparkle - bright flash with blur */
.plankton-particle.sparkle {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 1) 0%,
      rgba(220, 245, 255, 0.8) 30%,
      rgba(180, 220, 255, 0.4) 60%,
      transparent 100%);
  filter: blur(0.5px);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.8),
    0 0 24px rgba(200, 230, 255, 0.5),
    0 0 36px rgba(150, 200, 240, 0.3);
  animation: appleSparkle 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Apple-style Animation: Soft dust fade */
@keyframes appleDust {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(0);
  }

  15% {
    opacity: 0.8;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.5) translateY(-20px);
  }
}

/* Apple-style Animation: Gentle float with spring */
@keyframes appleFloat {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(0);
  }

  20% {
    opacity: 0.9;
    transform: scale(1.1) translateY(-8px);
  }

  40% {
    transform: scale(0.95) translateY(-16px);
  }

  100% {
    opacity: 0;
    transform: scale(0.3) translateY(-50px);
  }
}

/* Apple-style Animation: Elegant orb pulse */
@keyframes appleOrb {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }

  15% {
    opacity: 0.85;
    transform: scale(1.15);
  }

  30% {
    transform: scale(0.9);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05) translateY(-20px);
  }

  100% {
    opacity: 0;
    transform: scale(0.2) translateY(-60px);
  }
}

/* Apple-style Animation: Premium sphere with physics */
@keyframes appleSphere {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }

  12% {
    opacity: 0.8;
    transform: scale(1.2);
  }

  25% {
    transform: scale(0.85);
  }

  40% {
    opacity: 0.7;
    transform: scale(1.05) translateY(-15px);
  }

  60% {
    transform: scale(0.95) translateY(-35px);
  }

  100% {
    opacity: 0;
    transform: scale(0.15) translateY(-80px);
  }
}

/* Apple-style Animation: Bright sparkle with spring bounce */
@keyframes appleSparkle {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  20% {
    opacity: 1;
    transform: scale(1.5);
  }

  35% {
    transform: scale(0.9);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.2);
  }

  100% {
    opacity: 0;
    transform: scale(0.4);
  }
}

/* Virtual Tour Container */
.virtual-tour-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-surface);
}

.virtual-tour-container iframe {
  display: block;
  width: 100%;
  min-height: 500px;
}

@media (min-width: 768px) {
  .virtual-tour-container iframe {
    min-height: 600px;
  }
}

@media (min-width: 1200px) {
  .virtual-tour-container iframe {
    min-height: 700px;
  }
}

/* Larger Gallery Grid (12 items) */
.gallery-grid-large {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .gallery-grid-large {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   18. Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
  :root {
    --section-gap: 100px;
  }

  h1 {
    font-size: var(--text-5xl);
  }

  h2 {
    font-size: var(--text-3xl);
  }

  .two-col {
    gap: var(--space-10);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  h1 {
    font-size: var(--text-4xl);
    letter-spacing: 0.15em;
  }

  h2 {
    font-size: var(--text-2xl);
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  /* Hide desktop nav */
  .nav-frame {
    display: none;
  }

  /* Show mobile nav */
  .mobile-nav {
    display: block;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .two-col.reverse {
    direction: ltr;
  }

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

  /* Fix feature cards on tablet/mobile */
  .reveal-stagger[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-4) !important;
  }

  /* Fix journey cards grid */
  .reveal-stagger[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  /* Sound toggle reposition */
  .sound-toggle {
    display: none;
  }

  /* Cursor spotlight off on mobile */
  .cursor-spotlight {
    display: none;
  }

  .drawer {
    width: 100%;
    right: -100%;
  }

  /* Virtual tour responsive */
  .virtual-tour-container iframe {
    min-height: 350px;
  }

  /* Card feature responsive */
  .card-feature {
    padding: var(--space-6);
  }

  .card-feature-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 60px;
  }

  h1 {
    font-size: var(--text-2xl);
    letter-spacing: 0.1em;
  }

  h2 {
    font-size: var(--text-xl);
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-title {
    font-size: var(--text-2xl);
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: var(--text-sm);
    letter-spacing: 0.12em;
  }

  .hero-tagline {
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
  }

  .hero-content {
    padding: var(--space-4);
  }

  .scroll-indicator {
    bottom: 120px;
  }

  .section {
    padding: var(--section-gap) var(--space-4);
  }

  .section-header p.lead {
    font-size: var(--text-base);
    padding: 0;
  }

  .container {
    padding: 0;
  }

  .gallery-grid,
  .gallery-grid-large {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .mobile-nav-list {
    gap: var(--space-4);
    padding: 0 var(--space-2);
  }

  .mobile-nav-item a {
    font-size: 0.65rem;
  }

  .mobile-nav-icon {
    width: 20px;
    height: 20px;
  }

  .btn-reserve {
    width: 90px;
    height: 90px;
    font-size: 0.6rem;
  }

  /* Feature cards single column on small mobile */
  .reveal-stagger[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Card styling for mobile */
  .card-feature {
    padding: var(--space-4);
  }

  .card-feature h4 {
    font-size: var(--text-base);
  }

  .card-feature p {
    font-size: var(--text-sm);
  }

  /* Virtual tour smaller on mobile */
  .virtual-tour-container iframe {
    min-height: 280px;
  }

  /* Activity cards single column */
  .activity-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .activity-card {
    aspect-ratio: 16/10;
  }

  /* Footer mobile */
  .footer {
    padding: var(--space-12) var(--space-4) var(--space-4);
  }

  .footer-brand h3 {
    font-size: var(--text-lg);
  }

  /* Two-col image scaling */
  .two-col-img {
    height: 250px;
  }

  /* Contact form mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ============================================
   19. WhatsApp Button Float
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: calc(var(--space-8) + 140px);
  right: var(--space-8);
  z-index: 100;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: none;
    /* Hidden on mobile - chat button in mobile nav provides same functionality */
  }
}

/* ============================================
   20. Activity Cards
   ============================================ */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.activity-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

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

.activity-card:hover img {
  transform: scale(1.1);
}

.activity-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--canvas) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
}

.activity-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.activity-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .activity-card {
    aspect-ratio: 1/1;
  }

  .activity-card-overlay {
    padding: var(--space-3);
  }

  .activity-card h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
  }

  .activity-card p {
    font-size: var(--text-xs);
    line-height: 1.4;
  }
}

/* ============================================
   21. Arrival Experience Interactive Steps
   ============================================ */
.arrival-step {
  cursor: pointer;
  padding: var(--space-4) var(--space-6);
  margin-left: calc(-1 * var(--space-6));
  border-left: 2px solid transparent;
  transition: all var(--transition-base);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.arrival-step:hover,
.arrival-step.hover {
  background: rgba(61, 153, 112, 0.08);
  border-left-color: var(--accent);
}

.arrival-step.active {
  background: rgba(61, 153, 112, 0.12);
  border-left-color: var(--accent);
}

.arrival-step h4 {
  transition: color var(--transition-base);
}

.arrival-step:hover h4,
.arrival-step.hover h4,
.arrival-step.active h4 {
  color: var(--accent);
}

.arrival-step p {
  transition: color var(--transition-base);
}

.arrival-step:hover p,
.arrival-step.hover p {
  color: var(--text-primary);
}

.arrival-image-container {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.arrival-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease, transform var(--transition-slow);
}

/* Activity Grid adjustment for 6 cards */
.activity-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .arrival-step {
    padding: var(--space-3) var(--space-4);
    margin-left: calc(-1 * var(--space-4));
  }
}

/* ============================================
   22. Contact Direct Section (Elegant)
   ============================================ */
.contact-direct {
  margin-top: var(--space-16);
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(61, 153, 112, 0.3), transparent);
}

.contact-divider span {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-6);
  background: rgba(61, 153, 112, 0.05);
  border: 1px solid rgba(61, 153, 112, 0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-align: center;
}

.contact-option:hover {
  background: rgba(61, 153, 112, 0.1);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(61, 153, 112, 0.15);
}

.contact-option::after {
  display: none;
}

.contact-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  transition: transform var(--transition-base);
}

.contact-option:hover .contact-icon {
  transform: scale(1.1);
}

.contact-label {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.contact-hint {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  opacity: 0.8;
}

@media (max-width: 480px) {
  .contact-options {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   23. Mobile Gallery Enhancement
   ============================================ */

/* Mobile 3-column grid */
@media (max-width: 768px) {
  .gallery-grid-large {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .gallery-item {
    aspect-ratio: 1 / 1;
  }

  .gallery-item img {
    object-position: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid-large {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}

/* Gallery visibility controlled by JavaScript Load More button */
/* Removed CSS-based hide rule to allow JS to control visibility */

/* Load More Button Styling */
.gallery-load-more {
  padding: var(--space-8) 0;
}

.gallery-load-more.hidden {
  display: none;
}

.gallery-count {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* lightGallery Customizations */
.lg-backdrop {
  background-color: rgba(8, 9, 5, 0.97);
}

.lg-toolbar,
.lg-actions .lg-prev,
.lg-actions .lg-next {
  background-color: transparent;
}

.lg-counter {
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* Gallery item hover effect on mobile */
@media (max-width: 768px) {
  .gallery-item {
    cursor: pointer;
  }

  .gallery-item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}