/* Header */
header {
    background: linear-gradient(90deg, #003366, #0055a5);
    color: white;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.logo {
    height: 55px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul li {
    margin-left: 24px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffcc00;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: white;
}

/* Hero Section */
.hero {
    background: url("../images/car sales1.jpg") no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 51, 102, 0.6); /* blue overlay */
}

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

.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}
#quick-services {
    text-align: center;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.hero button {
    background: #0077cc;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background 0.3s ease;
}

.hero button:hover {
    background: #005fa3;
}

/* Services */
.service-item {
    background: white;
    margin: 20px 0;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.toggle-btn {
    background: #0077cc;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-btn:hover {
    background: #005fa3;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contacts Form */
form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
}

button[type="submit"] {
    background: #0077cc;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: #005fa3;
}

/* Footer */
footer {
    background: #002244;
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.social-links li {
    margin: 0 12px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffcc00;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.fade-in.visible {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #003366;
        padding: 15px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 18px;
        right: 20px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }
}
