/* Custom Styles for Chuck's Auto Repair */

/* Color Variables */
:root {
    --burgundy: #781f37;
    --burgundy-light: #9a2947;
    --blush: #fce4ec;
    --blush-light: #fff0f3;
    --rose-50: #fff1f2;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Custom Burgundy Color */
.bg-burgundy {
    background-color: var(--burgundy) !important;
}

.bg-burgundy\/10 {
    background-color: rgba(120, 31, 55, 0.1) !important;
}

.bg-burgundy\/20 {
    background-color: rgba(120, 31, 55, 0.2) !important;
}

.bg-burgundy\/40 {
    background-color: rgba(120, 31, 55, 0.4) !important;
}

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

.border-burgundy {
    border-color: var(--burgundy) !important;
}

.focus\:ring-burgundy\/20:focus {
    --tw-ring-color: rgba(120, 31, 55, 0.2) !important;
}

.focus\:border-burgundy:focus {
    border-color: var(--burgundy) !important;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-track {
    background: var(--rose-50);
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
}

/* Print Styles */
@media print {
    nav, #back-to-top, button {
        display: none !important;
    }
}
