/* Custom CSS for Z&R Auto Sales */

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2A;
    --pink-light: #F5C6C9;
    --pink-medium: #E8A0A5;
    --pink-dark: #D4747C;
}

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

html {
    scroll-behavior: smooth;
}

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

.font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

.font-body {
    font-family: 'Outfit', sans-serif;
}

/* Custom Colors */
.bg-burgundy {
    background-color: var(--burgundy);
}

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

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

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

.bg-pink-100 {
    background-color: var(--pink-light);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--pink-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

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

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

/* Navbar Active State */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--burgundy) !important;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1) !important;
}

/* Smooth Scroll Offset for Fixed Nav */
section[id] {
    scroll-margin-top: 100px;
}

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

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .animate-bounce {
        display: none;
    }
}
