/* =========================
   VEHICLE DETAILS PAGE
========================= */

.vehicle-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--carrick-dark);
}

.vehicle-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;

     display: flex;
    justify-content: flex-end;
}

.vehicle-hero-bg img {
    width: 75%;
    /* height: 100%; */
    
    object-fit: cover;

    opacity: 0.85;

    transform: scale(1.03);

    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 65%,
        rgba(0,0,0,0) 100%
    );

    mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 65%,
        rgba(0,0,0,0) 100%
    );

}

.vehicle-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10,10,11,1) 0%,
            rgba(10,10,11,0.86) 38%,
            rgba(10,10,11,0.35) 100%
        );
}

.vehicle-hero-content {
    position: relative;
    z-index: 5;
    padding-top: 130px;
    padding-bottom: 70px;
}

.vehicle-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 7vw, 68px);
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.vehicle-subtitle {
    color: #c2c2c7;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.vehicle-hero-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    color: var(--carrick-gold);
    margin-bottom: 34px;
}

.vehicle-hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}


@media (max-width: 991px){

    .vehicle-hero-bg img{
        width:100%;
        opacity:.35;
    }

    .vehicle-title{
        font-size:42px;
    }

    .vehicle-subtitle{
        font-size:16px;
    }

    .vehicle-hero-price{
        font-size:36px;
    }

}

/* =========================
   GALLERY
========================= */

.vehicle-gallery-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 32px;
    padding: 18px;
    box-shadow: 0 30px 70px rgba(15,23,42,0.12);
}

/* .vehicle-main-image {
    position: relative;

    height: 600px;
    border-radius: 26px;
    overflow: hidden;
    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;
    
} */

.vehicle-main-image {
    position: relative;

    width: 100%;
    max-width: 600px;

    aspect-ratio: 1 / 1;

    margin: 0 auto;

    border-radius: 26px;
    overflow: hidden;
    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-main-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: opacity .25s ease;

    
}

.vehicle-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-top: 18px;
    padding-bottom: 20px;
    flex: 1;
    scroll-behavior: smooth;

}

.vehicle-thumbnails::-webkit-scrollbar {
    display: none;
}

.vehicle-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}


.vehicle-thumb {
    width: 120px;
    height: 100px;
    flex: 0 0 auto;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    opacity: .72;
    transition: all .3s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-thumb.active,
.vehicle-thumb:hover {
    border-color: var(--carrick-gold);
    opacity: 1;
    transform: translateY(-3px);
}

/* =========================
   FEATURES
========================= */

.vehicle-features-section {
    background: #f8fafc;
    padding: 80px 0;
}

.vehicle-features-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 30px 70px rgba(15,23,42,0.08);
}

.vehicle-features-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #000;
    margin: 14px 0 18px;
}

.vehicle-features-card p {
    color: #64748b;
    line-height: 1.8;
}


/* =========================
   RELATED
========================= */

.vehicle-related-section {
    position: relative;
    background: #ffffff;
    padding: 110px 0;
    overflow: hidden;
}

.vehicle-related-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.7;
    pointer-events: none;
}

.vehicle-related-section .container {
    position: relative;
    z-index: 2;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .vehicle-main-image {
        width: 100%;
        max-width: 100%;
    }

}

@media (max-width: 768px) {

    .vehicle-thumb {
        width: 110px;
        height: 100px;
    }

    .vehicle-features-section,
    .vehicle-related-section {
        padding: 80px 0;
    }

    .vehicle-features-card {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .vehicle-features-card h2 {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .vehicle-hero-actions {
        flex-direction: column;
    }

    .vehicle-hero-actions .btn {
        width: 100%;
    }
}


/* =========================
   CLEAR HERO VERSION
========================= */

.vehicle-hero-clear .vehicle-hero-bg img {
    opacity: 0.82;
}

.vehicle-hero-clear .vehicle-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(10,10,11,0.95) 0%,
            rgba(10,10,11,0.68) 42%,
            rgba(10,10,11,0.18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(10,10,11,0.90) 0%,
            rgba(10,10,11,0.05) 45%,
            rgba(10,10,11,0.45) 100%
        );
}

.vehicle-hero-clear .vehicle-hero-content {
    padding-bottom: 110px;
}

/* =========================
   SHOWCASE SECTION
========================= */

.vehicle-showcase-section {
    position: relative;
    background: #ffffff;
    padding: 110px 0;
    overflow: hidden;
}

.vehicle-showcase-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.7;
    pointer-events: none;
}

.vehicle-showcase-section .container {
    position: relative;
    z-index: 2;
}

.compact-gallery {
    position: sticky;
    /* top: 110px; */
}

.vehicle-info-panel {
    background: #111214;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    padding: 34px;
    color: #fff;
    box-shadow: 0 30px 70px rgba(15,23,42,0.18);

    height: 100%;
}

.vehicle-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.vehicle-status.sale {
    background: var(--carrick-gold);
    color: #000;
}

.vehicle-status.rent {
    background: #2563eb;
    color: #fff;
}

.vehicle-status.sold {
    background: #dc2626;
    color: #fff;
}

.vehicle-info-panel h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
}

.vehicle-info-subtitle {
    color: rgba(255,255,255,.62);
    line-height: 1.8;
    margin-bottom: 24px;
}

.vehicle-info-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--carrick-gold);
    margin-bottom: 28px;
}

.vehicle-info-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.vehicle-info-specs div {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px;
}

.vehicle-info-specs span {
    display: block;
    color: rgba(255,255,255,.45);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vehicle-info-specs strong {
    color: #fff;
    font-size: 15px;
}

.vehicle-seller-note {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 26px;
    margin-bottom: 28px;
}

.vehicle-seller-note h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.vehicle-seller-note p {
    color: rgba(255,255,255,.62);
    line-height: 1.8;
    margin-bottom: 14px;
}

.vehicle-info-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vehicle-call-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.vehicle-call-link i {
    color: var(--carrick-gold);
}

/* Compact Features */

.compact-features {
    padding-top: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .compact-gallery {
        /* position: static; */
    }

    .vehicle-info-panel {
        padding: 28px;
    }

    .vehicle-info-panel h2 {
        font-size: 32px;
    }

    .vehicle-info-price {
        font-size: 34px;
    }
}

@media (max-width: 576px) {

    .vehicle-info-panel{
        padding:22px;
    }

    .vehicle-info-panel h2{
        font-size:28px;
    }

    .vehicle-info-price{
        font-size:30px;
    }

    .vehicle-info-specs {
        grid-template-columns: 1fr;
    }

    .vehicle-info-actions .btn,
    .vehicle-call-link {
        width: 100%;
        justify-content: center;
    }
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;

    background: transparent;
    color: #000;
    z-index: 20;
    font-size: 26px;

    transition: all .25s ease;
}

.gallery-nav:hover {
    color: var(--carrick-gold);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

@media (max-width: 991px){

    .vehicle-gallery-card{
        position: relative;
    }

    .gallery-nav{
        position: absolute;

        top: 50%;
        transform: translateY(-50%);

        color: #fff;

        width: 42px;
        height: 42px;

        z-index: 50;

        text-shadow: 0 2px 10px rgba(0,0,0,.8);
    }

    .gallery-prev{
        left: 30px;
    }

    .gallery-next{
        right: 30px;
    }

}

@media (max-width: 576px){

    /* .gallery-nav{
        width:38px;
        height:38px;
        font-size:12px;

        top:auto;
        bottom:10px;

        transform:none;
    } */

    .gallery-zoom{
        width:38px;
        height:38px;

        top:10px;
        left:10px;

        font-size:12px;
    }

}

.gallery-zoom {
    position: absolute;
    top: 25px;
    left: 25px;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(17,18,20,.85);
    color: #fff;

    z-index: 20;
}

.gallery-zoom:hover {
    background: var(--carrick-gold);
    color: #000;
}




.thumb-scroll-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #111214;
    color: #fff;
    flex-shrink: 0;
}

.thumb-scroll-btn:hover {
    background: var(--carrick-gold);
    color: #000;
}



.vehicle-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.vehicle-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #111214;
    transition: .3s;
}

.vehicle-tags span:hover {
    border-color: var(--carrick-gold);
    transform: translateY(-2px);
}

@media (max-width:576px){

    .vehicle-tags{
        justify-content:flex-start;
    }

    .vehicle-tags span{
        font-size:13px;
        min-height:40px;
        padding:0 14px;
    }

}

.image-lightbox {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.95);

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.image-lightbox img {
    max-width: 95%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: var(--carrick-gold);
}

.features-header {
    text-align: center;
    margin-bottom: 40px;
}

.features-header .section-label {
    justify-content: center;
    margin-bottom: 16px;
}

.features-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #000;
    margin-bottom: 16px;
}

.features-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
}

@media (max-width: 576px) {

    .vehicle-title {
        font-size: 36px;
        line-height: 1.05;
    }

    .features-header h2 {
        font-size: 32px;
    }

    .features-header p {
        font-size: 15px;
    }


    
}



.hero-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #fff;
    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-top: 10px;
}

.hero-scroll-down:hover {
    color: var(--carrick-gold);
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1;
}

.scroll-arrows i {
    font-size: 16px;
    color: var(--carrick-gold);
    animation: scrollArrow 1.2s infinite;
}

.scroll-arrows i:nth-child(2) {
    animation-delay: .2s;
    margin-top: -6px;
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(6px);
    }
}

@media (max-width: 576px) {
    .hero-scroll-down {
        margin-top: 6px;
    }
}


