/* Custom styles for Snake River Woodcrafters */

:root {
  --color-charcoal-900: #1a1a1a;
  --color-charcoal-800: #2d2d2d;
  --color-charcoal-700: #3d3d3d;
  --color-charcoal-600: #4a4a4a;
  --color-charcoal-500: #5a5a5a;
  --color-coral-500: #E8634A;
  --color-coral-600: #D4523A;
  --color-coral-700: #B8432D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar scroll effect */
.nav-scrolled {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Scroll reveal animations — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

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

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

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #E8634A;
  outline-offset: 2px;
}

/* Mobile menu transition */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 400px;
}

/* Button hover lift effect */
button, a {
  transition: all 0.2s ease;
}

/* Form input focus states */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(232, 99, 74, 0.15);
}

/* Gallery image hover overlay */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Print styles */
@media print {
  nav, #mobile-menu-btn, #contact-form, .reveal {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
