/* ===== CUSTOM STYLES ===== */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #064e3b;
}
::-webkit-scrollbar-thumb {
  background: #047857;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(254, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(6, 78, 59, 0.1);
}

/* Feature card hover lift */
.feature-card {
  transform: translateY(0);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
}

/* Gallery item zoom */
.gallery-item {
  cursor: pointer;
}
.gallery-item img {
  transition: transform 0.5s ease;
}

/* Mobile menu transition */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal base - content is visible by default */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 0;
  transform: translateY(30px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .gallery-item img {
    transition: none;
  }
  .feature-card:hover {
    transform: none;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid #34d399;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection */
::selection {
  background: #047857;
  color: #fefdf8;
}
