@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #007BFF;
    --secondary-color: #FFC107;
    --dark-color: #2c3e50;
    --light-color: #f4f4f4;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #0056b3;
    color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: var(--dark-color);
    margin-bottom: 4px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8)), url('https://via.placeholder.com/1200x600.png?text=Modern+Car') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button-large {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button-large:hover {
    background: #ffca2c;
    transform: translateY(-3px);
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    text-align: center;
}

.services h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.service-icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Generic Page Styles */
.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

.content-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-section p {
    margin-bottom: 1.5rem;
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

/* Affiliate Page */
.affiliate-hero {
    position: relative;
    text-align: center;
    padding: 6rem 1rem;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.affiliate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
}

.affiliate-hero-content {
    position: relative;
    z-index: 2;
}

.affiliate-hero h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.affiliate-hero h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.affiliate-hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.bright-cta {
    background: #28a745;
    color: #fff;
}
.bright-cta:hover {
    background: #218838;
}

.disclaimer {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Reviews Section */
.reviews {
    padding: 4rem 2rem;
    background: var(--light-color);
    text-align: center;
}

.reviews h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #ccc;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer-info {
    max-width: 400px;
}

.footer-info h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-disclaimer {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #aaa;
    max-width: 800px;
    margin: auto;
}

/* Responsive Design */
@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        text-align: center;
        padding: 1rem;
        width: 100%;
        border-top: 1px solid var(--light-color);
    }
    .cta-button {
        margin: 1rem;
    }
    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info, .footer-links {
        text-align: center;
    }
}