﻿/* ------------------------------------ */
/* Root Colors & Base ----------------- */
/* ------------------------------------ */
:root {
    --white: #f2f3f4;
    --almond: #eae0d5;
    --khaki: #c6ac8f;
    --brown: #5e503f;
    --gunmetal: #22333b;
    --black: #0a0908;
    --background-footer: #191919;
    --white-footer: #bfbfbf;
    --grey-footer: #6c757d;
    --mint-footer: #748d98;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #eaeaea;
    font-family: "Poppins", sans-serif;
}

main {
    min-height: 90vh;
    background: none;
}

section {
    margin: 3rem 0;
}

    section:last-of-type {
        margin-bottom: 6rem;
    }

a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------------ */
/* Navbar + Pre-Navbar ---------------- */
/* ------------------------------------ */
.pre-navbar {
    background-color: var(--gunmetal);
    color: var(--white);
}

.navbar {
    background-color: #fff !important;
    border-bottom: 1px solid #ddd;
}

/* ------------------------------------ */
/* Hero Banner ------------------------ */
/* ------------------------------------ */
.hero-banner-wrapper {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    z-index: 3;
}

    .hero-content h1,
    .hero-content p,
    .hero-content a {
        color: #fff;
    }

    .hero-content .btn {
        border: 2px solid #ffffff;
        border-radius: 8px;
        padding: 0.5rem 1.5rem;
        font-weight: 500;
        transition: background 0.3s ease;
    }

        .hero-content .btn:hover {
            background-color: #ffffff;
            color: #000;
        }

/* ------------------------------------ */
/* Features Section ------------------- */
/* ------------------------------------ */
#features img {
    margin-bottom: 1rem;
}

#features h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ------------------------------------ */
/* Cards & Dashboard ------------------ */
/* ------------------------------------ */
.card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }

.card-title {
    font-weight: 600;
}

/* ------------------------------------ */
/* Contact Page ----------------------- */
/* ------------------------------------ */
.contact-card {
    background-color: #191919;
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    transition: background 0.4s, box-shadow 0.4s;
}

    .contact-card:hover {
        background-color: #1a1a1a;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    }

input.form-control,
textarea.form-control {
    background-color: #f2f3f4;
    color: #222;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

    input.form-control:focus,
    textarea.form-control:focus {
        border-color: #ffffff;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        background-color: #f2f3f4;
    }

/* ------------------------------------ */
/* Site Wrapper Layout ---------------- */
/* ------------------------------------ */
main > .site-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
    max-width: 1300px;
    margin: 2rem auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* ------------------------------------ */
/* Footer ----------------------------- */
/* ------------------------------------ */
#footer {
    background-color: var(--background-footer);
    color: var(--white-footer);
    font-size: 0.96rem;
}

    #footer ul {
        list-style: none;
        padding-left: 0;
    }

    #footer .row:nth-child(2) p {
        color: var(--grey-footer);
    }

    #footer .row:nth-child(3) ul li a {
        color: var(--mint-footer);
    }

    #footer .row:nth-child(4) * {
        color: var(--grey-footer);
        font-size: 0.85rem;
    }

.footer-logo {
    cursor: pointer;
}

/* ------------------------------------ */
/* Responsive Tweaks ------------------ */
/* ------------------------------------ */
@media (max-width: 768px) {
    .hero-banner-wrapper {
        height: 240px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .site-wrapper {
        padding: 1.5rem 1rem;
        margin: 1rem;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

/* ------------------------------------ */
/* Featured Card Animation -------------*/
/* ------------------------------------ */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Testimonial Fade-in */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

/* ------------------------------------ */
/* Car Card ----------------------------*/
/* ------------------------------------ */
.car-card {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    height: 240px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .car-card:hover {
        transform: scale(1.02);
    }

.car-card-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    padding: 1rem;
}

/* ---------------------- */
/* Reviews Page Styling   */
/* ---------------------- */
/* --- Reviews Page --- */
.reviews-header .autoventa-logo {
    height: 70px;
    max-width: 200px;
}

.reviews-container {
    max-width: 1200px;
    margin: auto;
}

.review-card .card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .review-card .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

.profile-photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.rating-stars span {
    font-size: 1.1rem;
}

.review-text p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.review-image {
    display: block;
    margin-top: 10px;
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .review-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Social Header Bar */
.header-social {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    margin-left: 15px;
}

.header-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid transparent; /* invisible by default */
    background-color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
}

/* WhatsApp hover */
.social-icon.whatsapp:hover {
    border-color: #25D366; /* WhatsApp green */
    color: #25D366;
    background-color: #f8f9fa;
    transform: scale(1.1);
}

/* Instagram hover */
.social-icon.instagram:hover {
    border-color: #E1306C; /* Instagram pink */
    color: #E1306C;
    background-color: #f8f9fa;
    transform: scale(1.1);
}

/* Facebook hover */
.social-icon.facebook:hover {
    border-color: #1877F2; /* Facebook blue */
    color: #1877F2;
    background-color: #f8f9fa;
    transform: scale(1.1);
}



}
/* ---------------------- */
/* ------ Sub Titles   */
/* ---------------------- */
h4.text-muted {
    font-weight: 400;
    margin-top: -5px;
}

