/* NAVBAR HEIGHT + FEEL */
#mainHeader {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
}

body {
    scroll-behavior: smooth;
}

/* ================= NAVBAR ================= */
#mainHeader {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
}

.nav-link {
    position: relative;
    color: #fff;
    transition: 0.3s;
}

.nav-link:hover {
    color: #cdad5c;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #cdad5c;
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #cdad5c;
}

/* HERO */
.hero-title{
    font-size:30px;
    font-weight:700;
    max-width:900px;
}
@media(min-width:768px){
    .hero-title{ font-size:64px; }
}

.hero-subtitle{
    margin:16px 0;
    color:#d1d5db;
    font-size:14px;
}
@media(min-width:768px){
    .hero-subtitle{ font-size:18px; }
}

/* ================= BUTTON ================= */
.btn-primary {
    background: linear-gradient(135deg,#cdad5c,#f5e6a8);
    color:#000;
    padding:10px 24px;
    border-radius:6px;
    font-weight:600;
    transition:.3s;
}

.btn-primary:hover {
    transform:translateY(-2px);
}

/* SWIPER DOT */
.swiper-pagination-bullet{
    background:#999;
}
.swiper-pagination-bullet-active{
    background:#cdad5c;
}

footer {
    background: linear-gradient(to top, #000000, #0a0a0a);
}

footer h3 {
    letter-spacing: 1px;
}

footer p {
    transition: 0.3s;
}

footer p:hover {
    color: #cdad5c;
}

.filter-input {
    background:#111;
    border:1px solid #333;
    padding:10px;
    border-radius:6px;
    color:#fff;
}

.section-title {
    font-size:28px;
    font-weight:700;
}

.view-btn {
    color:#cdad5c;
    transition:0.3s;
}
.view-btn:hover {
    transform:translateX(5px);
}

/* CARD */
.car-card {
    background:#111;
    border-radius:10px;
    overflow:hidden;
    transition:0.4s;
}
.car-card:hover {
    transform:translateY(-6px);
}

.car-card img {
    height:180px;
    width:100%;
    object-fit:cover;
}

.meta {
    font-size:13px;
    color:#aaa;
}

.price {
    color:#cdad5c;
    font-weight:700;
}

.filter-dark {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    width: 100%;
}

.filter-dark:focus {
    border-color: #cdad5c;
    outline: none;
}

/* BUTTON */
.btn-gold {
    background: #cdad5c;
    color: black;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-gold:hover {
    transform: translateY(-2px);
}

/* CARD */
.car-list-card {
    display: flex;
    gap: 16px;
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 14px;
    transition: 0.3s;
}
.car-list-card:hover {
    border-color: #cdad5c;
    transform: translateY(-4px);
}

/* TEXT */
.car-title {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.car-meta {
    color: #aaa;
    font-size: 13px;
}

.car-sub {
    color: #666;
    font-size: 12px;
}

/* PRICE */
.price {
    color: #cdad5c;
    font-weight: bold;
    font-size: 18px;
}

/* BADGE */
.badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #cdad5c;
    color: black;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
}

/* COMPARE */
.compare {
    font-size: 12px;
    color: #aaa;
}

/*Filter CSS */

.filter-chip {
    background: #111;
    border: 1px solid #222;
    color: #ddd;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    min-width: 160px;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    border-color: #cdad5c;
    color: #fff;
}

.filter-chip:focus {
    border-color: #cdad5c;
    box-shadow: 0 0 10px rgba(205,173,92,0.3);
}

/* mobile smooth scroll */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}


@media (max-width: 768px) {
    .filter-chip {
        width: 100%;
    }
}

/* calculator section */
.tool-dark {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.tool-dark:hover {
    transform: translateY(-6px);
    border-color: #cdad5c;
    box-shadow: 0 10px 30px rgba(205,173,92,0.2);
}

.icon-dark {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cdad5c;
    font-size: 22px;
}

.tool-dark h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

/* Vehicle Listing */
.car-card {
    transition: all 0.35s ease;
    cursor: pointer;
}

.car-card:hover {
    transform: translateY(-8px);
}

/* ✨ PREMIUM SPACING FEEL */
.car-card .content {
    padding: 14px 16px;
}

/* Optional smooth text spacing */
.car-card h3 {
    line-height: 1.4;
}

/* Google Reviews Section Enhancements */
iframe {
    border-radius: 12px;
}

section iframe {
    filter: grayscale(0.2) contrast(1.05);
}

.review-card {
    background: #111;
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(205,173,92,0.2);
}

.avatar {
    width: 40px;
    height: 40px;
    background: #cdad5c;
    color: black;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.review-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text.expanded {
    -webkit-line-clamp: unset;
}

/* feature box */
.feature-dark {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: linear-gradient(145deg, #0d0d0d, #111);
    transition: all 0.3s ease;
}

.feature-dark:hover {
    border-color: #cdad5c;
    box-shadow: 0 10px 30px rgba(205,173,92,0.2);
    transform: translateY(-4px);
}

.feature-dark .icon {
    font-size: 22px;
    color: #cdad5c;
    min-width: 30px;
    margin-top: 4px;
}

.feature-dark h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-dark p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
}

/* form CSS */


.hex-box {
    width: 90px;
    height: 100px;
    background: transparent;
    border: 2px solid #cdad5c;
    clip-path: polygon(
        25% 5%, 75% 5%,
        100% 50%,
        75% 95%, 25% 95%,
        0% 50%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-box i {
    color: #cdad5c;
    font-size: 28px;
}
.premium-input {
    background: #111;
    border: 2px solid #cdad5c;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    transition: 0.3s;
}

.premium-input:focus {
    outline: none;
    border-color: #cdad5c;
    box-shadow: 0 0 10px rgba(205,173,92,0.4);
}

.premium-btn {
    background: linear-gradient(135deg, #cdad5c, #e6c77c);
    color: black;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(205,173,92,0.3);
}

/* FLOATING INPUT */
.floating-group {
    position: relative;
}

.floating-group input,
.floating-group textarea {
    width: 100%;
    padding: 14px;
    background: #111;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.floating-group label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #888;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
    background: #111;
    padding: 0 5px;
}

/* FLOAT EFFECT */
.floating-group input:focus + label,
.floating-group input:valid + label,
.floating-group textarea:focus + label,
.floating-group textarea:valid + label {
    top: -8px;
    font-size: 11px;
    color: #cdad5c;
}

/* BORDER GLOW */
.floating-group input:focus,
.floating-group textarea:focus {
    border-color: #cdad5c;
    box-shadow: 0 0 10px rgba(205,173,92,0.4);
}

/* BUTTON */
.premium-btn {
    background: linear-gradient(135deg, #cdad5c, #e6c77c);
    color: black;
    font-weight: bold;
    padding: 14px;
    border-radius: 10px;
    transition: 0.3s;
    position: relative;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(205,173,92,0.4);
}

/* LOADER */
.loader {
    width: 18px;
    height: 18px;
    border: 2px solid black;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



.social-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(205,173,92,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #cdad5c;
    font-size: 14px;
    transition: 0.3s;
}

/* HOVER EFFECT */
.social-icon:hover {
    background: linear-gradient(135deg, #cdad5c, #e6c77c);
    color: black;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(205,173,92,0.4);
}

.top-social {
    width: 26px;
    height: 26px;
    border: 1px solid rgba(205,173,92,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #cdad5c;
    font-size: 11px;
    transition: 0.3s;
}

/* HOVER */
.top-social:hover {
    background: #cdad5c;
    color: black;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(205,173,92,0.4);
}

/* Vehicle Listing */
.sg-card {
    display:grid;
    grid-template-columns:160px 1fr 180px;
    gap:20px;
    padding:15px;
    border:1px solid #222;
    border-radius:10px;
    background:#0f0f0f;
    transition:0.3s;
}

.sg-card:hover {
    border-color:#cdad5c;
    transform:translateY(-5px);
}

/* IMAGE */
.sg-img img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
}

/* DETAILS */
.sg-title {
    font-size: 16px;
    font-weight: 600;
    color: #cdad5c;
    text-decoration: none;
}

.sg-desc {
    font-size: 13px;
    color: #aaa;
    margin-top: 5px;
    line-height: 1.5;
}

/* META */
.sg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

/* POSTED */
.sg-posted {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
}

/* PRICE */
.sg-price-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sg-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff4d4d;
}

/* COMPARE */
.sg-compare {
    font-size: 12px;
    color: #ccc;
}

/* RESPONSIVE */
@media(max-width:768px){

    .sg-card {
        grid-template-columns: 1fr;
    }

    .sg-img img {
        width: 100%;
        height: 180px;
    }

    .sg-price-box {
        text-align: left;
        margin-top: 10px;
    }
}

/* compare Car */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 999;
}

.compare-items {
    display: flex;
    gap: 10px;
}

.compare-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    padding: 6px;
    border-radius: 6px;
}

.compare-card img {
    width: 50px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.compare-card span {
    font-size: 11px;
    color: #ccc;
}

.compare-card button {
    color: red;
    font-size: 12px;
}

.compare-actions button {
    margin-left: 10px;
    padding: 8px 12px;
    border-radius: 5px;
}

#compareBtn {
    background: #cdad5c;
    color: black;
}

#clearCompare {
    background: #333;
    color: white;
}


/* PAGE */
.compare-section {
    padding: 100px 20px;
    background: #f4f6f9;
}

/* TITLE */
.compare-title {
    color: #1a1a1a
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* MAIN TABLE */
.compare-table {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* 🔥 ROW SYSTEM (IMPORTANT) */
.compare-row {
    display: grid;
    grid-template-columns: 180px repeat(auto-fit, minmax(240px, 1fr));
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* HEADER */
.header {
    background: #111;
}

/* CELL */
.compare-cell {
    padding: 16px;
    text-align: center;
}

/* LABEL */
.label {
    background: #fafafa;
    text-align: left;
    font-weight: 600;
}

/* CAR CELL */
.car {
    background: #111;
}

/* CAR BOX */
.car-box {
    color: #fff;
}

/* IMAGE FIX */
.car-box img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

/* INFO */
.car-info {
    margin-top: 8px;
}

.car-info span {
    color: #ff3b30;
    font-weight: bold;
}

/* PRICE */
.price {
    color: #e53935;
    font-weight: bold;
}

/* SECTION */
.section-title-compare {
    padding: 12px 16px;
    font-weight: bold;
    background: #e9ecef;
    color: #222;
    font-weight: 700;
}

/* HOVER */
.compare-row:hover {
    background: rgba(0,0,0,0.03);
}


@media(max-width:768px){

    .compare-header {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .compare-car-card {
        min-width: 220px;
        flex-shrink: 0;
    }

    .compare-car-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

}

@media(max-width:768px){

    .compare-table {
        overflow-x: auto;
    }

    .compare-row {
        display: flex !important;
        min-width: 600px; /* important */
        border-bottom: 1px solid #eee;
    }

    .compare-cell {
        flex: 0 0 180px; /* each column width */
        padding: 12px;
        box-sizing: border-box;
    }

    .compare-cell.label {
        position: sticky;
        left: 0;
        z-index: 2;
        font-weight: bold;
        background: #f5f5f5;
        font-weight: 600;
        color: #333;
    }

}

@media(max-width:768px){

    .compare-row.header {
        display: flex !important;
        overflow-x: auto;
    }

    .compare-row.header .compare-cell {
        flex: 0 0 180px;
    }

}

.compare-table {
    -webkit-overflow-scrolling: touch;
}


/* DIFFERENCE ROW */
.diff-row {
    background: rgba(205,173,92,0.05);
}

/* HIGHLIGHT CELL */
.highlight {
    color: #cdad5c;
    font-weight: 600;
}

/* HIDE ANIMATION */
.same-row {
    transition: all 0.3s ease;
    background: transparent;

}

.diff-row .label {
    background: rgba(205,173,92,0.15);
    font-weight: bold;
}


