/* Custom CSS for Second Chance Auto and Towing */

:root {
  --burgundy: #722F37;
  --burgundy-dark: #5A252C;
  --blush: #FFB7C5;
  --stone-50: #FAFAF9;
  --stone-100: #F5F5F4;
  --stone-900: #1C1917;
}

/* Custom Tailwind Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Color Classes */
.text-burgundy {
  color: var(--burgundy);
}

.text-burgundy-dark {
  color: var(--burgundy-dark);
}

.bg-burgundy {
  background-color: var(--burgundy);
}

.bg-burgundy-dark {
  background-color: var(--burgundy-dark);
}

.bg-rose-100 {
  background-color: #FFE4E6;
}

.bg-rose-200 {
  background-color: #FECDD3;
}

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

/* Typography Enhancements */
.font-serif {
  font-family: 'Playfair Display', serif;
}

.font-sans {
  font-family: 'DM Sans', sans-serif;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Service Card Hover Effect */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* Button Focus States */
button:focus,
a:focus {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-track {
  background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
  background: var(--burgundy);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--burgundy-dark);
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .font-serif {
    font-size: 2.5rem;
  }
}

@media (min-width: 769px) {
  .font-serif {
    font-size: 4rem;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none;
  }
}
