/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HERO GRADIENT ===== */
.hero-gradient {
  background: linear-gradient(135deg,
    #0e261c 0%,
    #1B4332 25%,
    #2d5c33 45%,
    #1a4a3a 60%,
    #0d3024 80%,
    #071a12 100%
  );
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.12;
}

.shape-circle-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #D4A843 0%, transparent 70%);
  top: -15%;
  right: -8%;
  animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, #5a935e 0%, transparent 70%);
  bottom: -5%;
  left: -5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 208px solid #D4A843;
  top: 20%;
  left: 8%;
  opacity: 0.08;
  transform: rotate(15deg);
  animation: spin-slow 30s linear infinite;
}

.shape-dots {
  width: 180px;
  height: 180px;
  top: 60%;
  right: 12%;
  background-image: radial-gradient(circle, #D4A843 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.3;
  animation: float-slow 12s ease-in-out infinite;
}

.shape-ring {
  width: 200px;
  height: 200px;
  border: 4px solid #5a935e;
  border-radius: 50%;
  top: 15%;
  right: 25%;
  opacity: 0.15;
  animation: spin-slow 25s linear infinite reverse;
}

.shape-square {
  width: 100px;
  height: 100px;
  background: #D4A843;
  bottom: 25%;
  left: 15%;
  opacity: 0.07;
  transform: rotate(45deg);
  animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== NAVIGATION ===== */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4A843;
  transition: width 0.3s ease;
}

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

.nav-logo-text {
  transition: color 0.3s ease;
}

#nav.scrolled .nav-logo-text {
  color: #1B4332;
}

#nav.scrolled {
  background: rgba(253, 252, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

/* Mobile menu */
.mobile-link {
  transition: opacity 0.3s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

/* ===== MENU CARDS ===== */
.menu-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.12);
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

/* ===== CTA SECTION ===== */
.cta-gradient {
  background: linear-gradient(135deg,
    #1B4332 0%,
    #2d5c33 50%,
    #1B4332 100%
  );
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-shapes .shape-circle-1 {
    width: 300px;
    height: 300px;
  }

  .hero-shapes .shape-circle-2 {
    width: 180px;
    height: 180px;
  }

  .hero-shapes .shape-triangle {
    border-left-width: 70px;
    border-right-width: 70px;
    border-bottom-width: 121px;
  }

  .hero-shapes .shape-ring {
    width: 120px;
    height: 120px;
  }

  .hero-shapes .shape-square {
    width: 60px;
    height: 60px;
  }
}
