/* Custom styles for Guilbert's Auto Care */

/* Custom properties */
:root {
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
}

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

body {
  font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Custom Tailwind config */
.tailwind-config {
  --color-navy-900: #0f172a;
  --color-navy-800: #1e293b;
  --color-gold-500: #d97706;
  --color-gold-400: #f59e0b;
  --color-gold-100: #fef3c7;
  --color-gold-200: #fde68a;
}

/* Scroll reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Navigation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--gold-500);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

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

/* Button hover effects */
button, a {
  transition: all 0.3s ease;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

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

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .reveal.hidden {
    opacity: 1;
    transform: none;
  }
  
  button, a {
    transition: none;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
  }
}
