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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== HERO GRADIENT ===== */
.hero-gradient {
  background: linear-gradient(
    135deg,
    #0a170f 0%,
    #1a3a2a 25%,
    #1e472c 45%,
    #265c38 65%,
    #347a4a 85%,
    #529e68 100%
  );
}

/* ===== NAV ===== */
.nav {
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

.nav.scrolled {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 58, 42, 0.08);
}

.nav.scrolled .nav-link {
  color: #1e472c;
}

.nav.scrolled .nav-link:hover {
  color: #347a4a;
}

.nav.scrolled .font-display {
  color: #1a3a2a;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 58, 42, 0.08);
}

.mobile-link:last-child {
  border-bottom: none;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  opacity: 0.7;
}

@keyframes scroll-dot {
  0% { top: 0; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.scroll-dot {
  animation: scroll-dot 2s ease-in-out infinite;
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7fb88e;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn-primary {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

/* ===== MENU ITEMS ===== */
.menu-item {
  border-bottom: 1px solid rgba(174, 208, 184, 0.4);
  padding-bottom: 1rem;
}

.menu-item:last-child {
  border-bottom: none;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-dot {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== GALLERY ===== */
.gallery-item {
  overflow: hidden;
  border-radius: 0.5rem;
}

.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== FORM ===== */
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #347a4a !important;
}

/* ===== UTILITY ===== */
::selection {
  background: #aed0b8;
  color: #1a3a2a;
}
