  /* Base styles & custom properties */
  :root {
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
  }

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

  body {
    font-family: var(--font-body);
    overflow-x: hidden;
  }

  /* Floating animations */
  @keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

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

  @keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
  }

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

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

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

  /* Scroll reveal - progressive enhancement */
  .scroll-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);
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar styles */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-blur-xl;
    box-shadow: 0 1px 20px rgba(26, 39, 68, 0.08);
  }

  /* Mobile menu */
  #mobileMenu {
    animation: slideDown 0.3s ease-out;
  }

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

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

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

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

  ::-webkit-scrollbar-thumb:hover {
    background: #8da2cf;
  }

  /* Selection color */
  ::selection {
    background: #f5d88a;
    color: #1a2744;
  }

  /* Focus styles */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #f5d88a;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Image loading placeholder */
  img {
    background: linear-gradient(135deg, #f0f3f9 0%, #d9e0ef 100%);
  }

  /* Smooth card hover transitions */
  .group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
  }

  /* Ensure hero text is always visible */
  #hero h1, #hero p, #hero a, #hero .inline-flex {
    opacity: 1 !important;
    transform: none !important;
  }
</style>
