/* ── Base & Utilities ── */
html {
  scroll-behavior: smooth;
}

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

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, #065f46 0%, #047857 25%, #059669 50%, #34d399 75%, #a7f3d0 100%);
}

/* ── Floating Blobs ── */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Card Hover ── */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6, 78, 59, 0.1);
}

/* ── Gallery ── */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-item img {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .animate-float {
    animation: none;
  }
}

/* ── Mobile Menu Animation ── */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Form Focus Styles ── */
input:focus,
select:focus,
textarea:focus {
  border-color: #6ee7b7 !important;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.2) !important;
}

/* ── Custom Selection ── */
::selection {
  background: #a7f3d0;
  color: #064e3b;
}
