/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
#navbar.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(4, 78, 59, 0.08);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #047857;
  transition: width 0.25s ease;
  border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

/* ===== HERO ===== */
.hero-bg {
  background-image: url('https://images.pexels.com/photos/2349991/pexels-photo-2349991.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero-title {
  opacity: 0;
  animation: heroTitleIn 1s ease forwards 0.3s;
}
.hero-subtitle {
  opacity: 0;
  animation: heroTitleIn 1s ease forwards 0.6s;
}
.hero-ctas {
  opacity: 0;
  animation: heroTitleIn 1s ease forwards 0.9s;
}
.hero-badge {
  opacity: 0;
  animation: heroTitleIn 1s ease forwards 0.15s;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #047857;
  color: #FDFBF7;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(4, 78, 59, 0.35);
}
.btn-primary:hover {
  background: #065F46;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(4, 78, 59, 0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #FDFBF7;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, border-color 0.25s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.5);
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FDFBF7;
  color: #047857;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #FDFBF7;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.backdrop-border {
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===== MENU CARDS ===== */
.card-menu {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-menu:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(4, 78, 59, 0.08);
}

/* ===== GALLERY ===== */
.gallery-img-wrap {
  cursor: pointer;
  transition: transform 0.4s ease;
}
.gallery-img-wrap:hover {
  transform: scale(1.03);
}
.gallery-img-wrap:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-img {
  transition: transform 0.6s ease;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-up { transform: translateY(32px); }
  .reveal-left { transform: translateX(-32px); }
  .reveal-right { transform: translateX(32px); }
  .revealed.reveal-up,
  .revealed.reveal-left,
  .revealed.reveal-right {
    opacity: 1;
    transform: translateY(0) translateX(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
/* Always visible when JS is disabled */
.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right {
  transform: none;
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  display: block;
  transition: background 0.2s;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF6EE; }
::-webkit-scrollbar-thumb { background: #047857; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #065F46; }
