  /* ========== BASE & RESET ========== */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    overflow-x: hidden;
  }

  ::selection {
    background-color: rgba(5, 150, 105, 0.4);
    color: #f5f4e8;
  }

  /* ========== NAVBAR SCROLL EFFECT ========== */
  #navbar {
    background: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }

  #navbar.scrolled {
    background: rgba(26, 26, 22, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 168, 83, 0.1), 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* ========== SCROLL REVEAL (progressive enhancement) ========== */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal[data-reveal-delay="100"] { transition-delay: 0.1s; }
    .reveal[data-reveal-delay="200"] { transition-delay: 0.2s; }
    .reveal[data-reveal-delay="300"] { transition-delay: 0.3s; }
    .reveal[data-reveal-delay="400"] { transition-delay: 0.4s; }
  }

  /* Mobile menu transitions */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  #mobile-menu {
    opacity: 0;
    pointer-events: none;
  }

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

  ::-webkit-scrollbar-track {
    background: #1a1a16;
  }

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

  ::-webkit-scrollbar-thumb:hover {
    background: #047857;
  }

  /* ========== ANIMATED GOLD ACCENT LINE ========== */
  .gold-line {
    position: relative;
  }

  .gold-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4a853, transparent);
  }

  /* ========== FLOATING ANIMATION (hero cards) ========== */
  @media (prefers-reduced-motion: no-preference) {
    .float-slow {
      animation: floatSlow 6s ease-in-out infinite;
    }

    .float-medium {
      animation: floatMedium 4.5s ease-in-out infinite;
    }

    .float-fast {
      animation: floatFast 3.5s ease-in-out infinite;
    }
  }

  @keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }

  @keyframes floatMedium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
  }

  @keyframes floatFast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
  }

  /* ========== GOLD SHIMMER TEXT ========== */
  .gold-shimmer {
    background: linear-gradient(135deg, #d4a853 0%, #eccd8a 50%, #d4a853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* ========== IMAGE LAZY LOAD FADE-IN ========== */
  img[loading="lazy"] {
    transition: opacity 0.5s ease;
  }

  img[loading="lazy"].loaded {
    opacity: 1;
  }

  /* ========== FOCUS STYLES ========== */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ========== ACCESSIBILITY: REDUCED MOTION ========== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    html {
      scroll-behavior: auto;
    }
  }
