/* Custom styles — thin lines, subtle transitions, refined spacing */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background: rgba(196, 114, 74, 0.15);
  color: inherit;
}

/* Thin focus outlines */
input:focus,
textarea:focus {
  outline: none;
}

/* Subtle hover underline for text links */
a:not(.group):hover {
  text-decoration: none;
}

/* Nav shadow on scroll */
nav.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* Image hover zoom */
img {
  transition: transform 0.6s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #E2D5BC;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C4724A;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  img {
    transition: none;
  }
  #mobile-menu {
    animation: none;
  }
}
