
/* Base styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
}
/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.hover-pulse:hover {
    animation: pulse 1s infinite;
}
/* Custom car card styling */
.car-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.car-card:hover::before {
    opacity: 1;
}

.car-card h3 {
    transition: color 0.3s ease;
}

.car-card:hover h3 {
    color: var(--primary);
}
/* Testimonial styling */
.testimonial-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(37, 99, 235, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
}

.star-rating i {
    color: var(--accent);
    margin-right: 2px;
}
/* Hero section */
.hero-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), 
                url('https://static.photos/automotive/1200x630/42') center/cover;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-content h1 {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.hero-content {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .car-card {
        margin-bottom: 2rem;
    }
    
    .feature-grid div {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        min-height: 75vh;
        display: flex;
        align-items: center;
    }
}

/* Button styles */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

/* Utility classes */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* Custom button styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}