* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}


.header {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #facc15;
}

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

.nav-links li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #facc15;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Call-to-action button in header */
.btn-header {
    background: #facc15;
    color: #0f172a !important;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 5px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn-header:hover {
    background: #eab308;
    transform: translateY(-2px);
    color: #0f172a !important;
}

/* Burger Menu for Mobile */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Responsive Nav */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background: #0f172a;
        flex-direction: column;
        align-items: center;
        width: 250px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 100px;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-active {
        transform: translateX(0);
    }

    .burger {
        display: flex;
    }
}


.logo {
    font-size: 24px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}


/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* dark overlay for text visibility */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Hero Buttons */
.hero-buttons a {
    display: inline-block;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-hero {
    background: #facc15;
    color: #0f172a;
}

.btn-hero:hover {
    background: #eab308;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #2563eb;
    color: #fff;
}

.btn-secondary:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons a {
        padding: 10px 20px;
        margin: 8px;
    }
}


.service-grid {
    display: flex;
    gap: 10px;
}

.service-card {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0f172a;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;

    gap: 10px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.5;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #f59e0b, #facc15);
}

/* Cars */
.cars {
    padding: 60px 0;
}

.cars h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.car-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-card h3 {
    padding: 15px;
}

.car-card p {
    padding: 0 15px 15px;
}


.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background: linear-gradient(135deg, #f59e0b, #facc15);
    color: #000;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 15px;
    margin: 6px 0;
}

.contact-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #f59e0b, #facc15);
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 2rem;
}


@media screen and (max-width: 768px) {
    .service-grid {
        flex-direction: column;
        gap: 20px; /* optional: add spacing between cards */
    }
}