/* Custom styles for Creole Chief */

html {
  scroll-behavior: smooth;
}

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

/* Navigation scroll state */
nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

nav.scrolled .font-display {
  color: #50382e !important;
}

/* Scroll reveal base — always visible by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f0ea;
}
::-webkit-scrollbar-thumb {
  background: #c9aa92;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b38c72;
}

/* Nav height for scrolling offset */
#hero {
  scroll-margin-top: 80px;
}

#services, #about, #why-us, #contact {
  scroll-margin-top: 80px;
}
