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

  body {
    overflow-x: hidden;
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #F7F5F0;
  }
  ::-webkit-scrollbar-thumb {
    background: #0A2342;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #122D4F;
  }

  /* Navigation */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #B8E6D8;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Header scroll state */
  #header.scrolled {
    background: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10, 35, 66, 0.08);
  }

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

  /* Mobile menu icon animation */
  #menuToggle.active #bar1 {
    transform: translateY(5px) rotate(45deg);
  }
  #menuToggle.active #bar2 {
    opacity: 0;
  }
  #menuToggle.active #bar3 {
    transform: translateY(-5px) rotate(-45deg);
    width: 1.5rem;
  }

  /* Mobile links */
  .mobile-link {
    position: relative;
  }

  /* Reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  /* Menu hover line animation */
  #menu section div.space-y-6 > div {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  #menu.visible-section div.space-y-6 > div {
    opacity: 1;
    transform: translateX(0);
  }

  /* Image hover zoom container */
  .aspect-square img,
  .aspect-\[4\/5\] img {
    will-change: transform;
  }

  /* Input autofill */
  input:-webkit-autofill,
  textarea:-webkit-autofill {
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #0A2342 !important;
  }

  /* Selection */
  ::selection {
    background: #B8E6D8;
    color: #0A2342;
  }
</style>
