/* Custom CSS for Kovarik's Automotive */

:root {
  --burgundy: #7D1C2E;
  --burgundy-dark: #5E1523;
  --blush: #F4C2C2;
  --blush-dark: #E8A0A0;
  --stone-50: #FAFAF8;
  --stone-100: #F5F5F4;
  --stone-200: #E7E5E4;
  --stone-600: #575553;
  --stone-900: #1C1917;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--stone-100);
}
::-webkit-scrollbar-thumb {
  background: var(--burgundy);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--burgundy-dark);
}

/* Selection color */
::selection {
  background: var(--burgundy);
  color: white;
}

/* Typography enhancements */
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}
.font-sans {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Burgundy color utilities */
.bg-burgundy { background-color: var(--burgundy); }
.bg-burgundy-dark { background-color: var(--burgundy-dark); }
.text-burgundy { color: var(--burgundy); }
.text-burgundy-dark { color: var(--burgundy-dark); }
.border-burgundy { border-color: var(--burgundy); }
.text-blush { color: var(--blush); }
.text-blush-dark { color: var(--blush-dark); }
.bg-blush { background-color: var(--blush); }
.bg-blush-dark { background-color: var(--blush-dark); }

/* Navbar scroll effect */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(125, 28, 46, 0.08);
}

/* Hero image parallax-like effect */
#hero img {
  transition: transform 0.6s ease;
}
#hero:hover img {
  transform: scale(1.02);
}

/* Service card hover effects */
.group:hover .group-hover\:-translate-y-0\.5 {
  transform: translateY(-0.125rem);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(125, 28, 46, 0.1);
}

/* Button hover lift effect */
button:hover,
a:hover {
  transform: translateY(-1px);
}
button:active,
a:active {
  transform: translateY(0);
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Back to top button */
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.2;
  }
}

/* Print styles */
@media print {
  header, footer, #back-to-top {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
