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

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-display: swap;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    flex: 1;
}

footer a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand h1 {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-brand i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 32px;
    text-align: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #e74c3c;
    transform: translateY(-2px);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

/* Featured Car */
.featured-car {
    padding: 4rem 0;
    background: #fff;
}

.featured-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(231,76,60,0.1) 0%, rgba(52,152,219,0.1) 100%);
    pointer-events: none;
}

.featured-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.featured-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-content .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1rem;
}

.featured-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-featured {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-featured:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231,76,60,0.3);
}

/* Filters */
.filters {
    padding: 2rem 0;
    background: #f8f9fa;
}

.filter-group {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.search-input, .filter-select {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus, .filter-select:focus {
    border-color: #e74c3c;
    outline: none;
    box-shadow: 0 0 10px rgba(231,76,60,0.2);
}

/* Cars Grid */
.cars-grid {
    padding: 4rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.car-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.car-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.car-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.car-info {
    padding: 1.5rem;
}

.car-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.car-year {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.car-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* margin-bottom: 1rem; */
}

.spec-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
}

.spec-item i {
    margin-right: 0.3rem;
    color: #e74c3c;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: #1a1a1a;
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #e74c3c;
}

.stars {
    color: #ffd700;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.testimonials::before, .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #ffffff, #008a49);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 3rem;
}

.footer-section {
    position: relative;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    text-align: left;
}

.footer-section h3::after, .footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #ffffff, #008a49);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    opacity: 0.9;
    transition: all 0.3s ease;
    line-height: 1.6;
    text-align: left;
}

.footer-section p:hover, .footer-section p:hover a {
    opacity: 1;
    transform: translateX(5px);
    cursor: default !important;
}

.footer-section p:hover i{
    color: #e74c3c;
}

.footer-section i {
    margin-right: 0.8rem;
    color: #008a49;
    width: 20px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    color: #bbb;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #ffffff, #ffffff57);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px #008a4a4b;
}

.social-links a:hover i {
    color: white;
}

.social-links a:hover::before {
    left: 0;
}

.social-links a i {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    margin: 0;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37,211,102,0.6);
}

.gap-2{
    gap: 8px !important;
}

.gap-4{
    gap: 16px !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 16px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 8px;
        width: 100%;
        justify-content: space-evenly;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .car-image {
        height: 200px;
    }
    
    .car-info h3 {
        font-size: 1.1rem;
    }
    
    .car-price {
        font-size: 1.3rem;
    }
}

@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
