/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255, 247, 237, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #059669;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: #065f46;
  color: #fff7ed;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 95, 70, 0.35);
}
.btn-secondary {
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-secondary:hover {
  transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .service-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
  }
  .service-card.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-item {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .gallery-item.revealed {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== FORM ===== */
#contact-form input:focus,
#contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

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