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

  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
  }

  /* ===== NAVBAR ===== */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  }

  #navbar.scrolled .nav-logo-text {
    color: #1e293b;
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #2d7a6a;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* ===== MOBILE MENU ===== */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }

  #mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-link {
    font-size: 1.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }

  #mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }

  #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
  #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
  #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
  #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }

  /* Hamburger animation */
  #menuBtn.active #bar1 {
    transform: translateY(4px) rotate(45deg);
  }

  #menuBtn.active #bar2 {
    opacity: 0;
    transform: scaleX(0);
  }

  #menuBtn.active #bar3 {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* ===== SCROLL REVEAL ===== */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

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

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }

    html {
      scroll-behavior: auto;
    }

    .group:hover img {
      transform: none;
    }
  }

  /* ===== IMAGE HOVER ===== */
  .group img {
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  /* ===== BUTTONS ===== */
  a {
    text-decoration: none;
  }

  /* ===== SELECTION ===== */
  ::selection {
    background: #a8d9cc;
    color: #0f2a25;
  }

  /* ===== SCROLLBAR ===== */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f0f9f6;
  }

  ::-webkit-scrollbar-thumb {
    background: #a8d9cc;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #6fbfaa;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .font-serif {
      font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
  }
