  /* ── Custom styles for Marigold Gates Flower Garden ───────────────── */

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

  /* Selection color */
  ::selection {
    background-color: rgba(14, 170, 96, 0.3);
    color: #fefdf8;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #030806;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(14, 170, 96, 0.4);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 170, 96, 0.6);
  }

  /* ── Navigation ───────────────────────────────────────────────────── */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #0eaa60, #6dd5a0);
    transition: width 0.3s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile menu */
  .mobile-nav-link {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
  }
  .mobile-nav-link.active {
    animation: slideUp 0.4s ease forwards;
  }
  .mobile-nav-link:nth-child(2) { animation-delay: 0.05s; }
  .mobile-nav-link:nth-child(3) { animation-delay: 0.1s; }
  .mobile-nav-link:nth-child(4) { animation-delay: 0.15s; }

  @keyframes slideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Menu animation */
  #menuToggle.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #menuToggle.open .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menuToggle.open .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ── Service cards ────────────────────────────────────────────────── */
  .service-card {
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: no-preference) {
    .service-card {
      transform: translateY(20px);
    }
    .service-card.visible {
      transform: translateY(0);
    }
  }

  /* ── Navbar scroll state ──────────────────────────────────────────── */
  #nav.scrolled {
    background: rgba(3, 8, 6, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* ── Gallery hover overlay ────────────────────────────────────────── */
  .group:hover img {
    filter: brightness(1.05);
  }

  /* ── Input autofill override ──────────────────────────────────────── */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a0f0d inset !important;
    -webkit-text-fill-color: #fefdf8 !important;
  }

  /* ── Form focus states ────────────────────────────────────────────── */
  input:focus,
  textarea:focus,
  select:focus {
    box-shadow: 0 0 0 1px rgba(14, 170, 96, 0.3);
  }
