/* =====================================================
   SEQUENT TOURS & TRAVELS
   FILE        : vehicle-details.css
   VERSION     : 1.0
   AUTHOR      : Sequent Travels
   DESCRIPTION : Vehicle Details Hero, Vehicle Gallery,
                 Quick Rate Card, Details Cards and CTA
===================================================== */


/* =====================================================
   01. VEHICLE DETAILS HERO
===================================================== */

.vehicle-page-hero{
    width:100%;
    height:220px;
    padding-top:90px;

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

    position:relative;
    overflow:hidden;

    background:linear-gradient(135deg,#F7F7F7,#FFFFFF);
}

.vehicle-page-hero::before{
    content:"";
    position:absolute;
    top:-220px;
    left:-220px;
    width:500px;
    height:500px;
    background:rgba(217,119,6,.08);
    border-radius:50%;
    pointer-events:none;
}

.vehicle-page-hero::after{
    content:"";
    position:absolute;
    right:-260px;
    bottom:-260px;
    width:600px;
    height:600px;
    background:rgba(217,119,6,.05);
    border-radius:50%;
    pointer-events:none;
}

.vehicle-page-hero .page-overlay{
    position:relative;
    z-index:2;
    max-width:700px;
    padding:0 24px;
    text-align:center;
}

.vehicle-page-hero .page-overlay h1{
    margin:0 0 10px;
    color:#FFFFFF;
    font-size:40px;
    font-weight:500;
    line-height:1.2;
}

.vehicle-page-hero .page-overlay p{
    margin:0;
    color:rgba(255,255,255,.85);
    font-size:16px;
    line-height:1.8;
}


/* =====================================================
   02. VEHICLE TOP SECTION
===================================================== */

.vehicle-top-section{
    width:100%;
    padding:70px 80px 55px;

    display:grid;
    grid-template-columns:minmax(0,58fr) minmax(0,42fr);
    gap:34px;
    align-items:stretch;

    background:#FAFAF8;
    overflow:hidden;
}


/* =====================================================
   02.1 VEHICLE HEADER INFO
===================================================== */

.vehicle-header-info{
    grid-column:1 / -1;
    min-width:0;
    margin-bottom:-10px;
}

.vehicle-header-info h1{
    margin:0 0 14px;
    color:#222222;
    font-size:34px;
    font-weight:500;
    line-height:1.3;
}

.vehicle-header-info p{
    max-width:800px;
    margin:0 0 20px;
    color:#6B7280;
    font-size:16px;
    line-height:1.9;
}

.vehicle-quick-specs{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:0;
}

.vehicle-quick-specs span{
    padding:12px 18px;
    background:#FFFFFF;
    border:1px solid rgba(0,0,0,.08);
    border-radius:999px;
    color:#374151;
    font-size:14px;
    line-height:1.4;
}


/* =====================================================
   03. VEHICLE GALLERY
===================================================== */

.vehicle-gallery{
    width:100%;
    height:100%;
    min-height:620px;

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

    overflow:hidden;
}

.vehicle-main-image{
    width:100%;
    height:100%;
    min-height:620px;
    padding:30px;

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

    overflow:hidden;

background:
    radial-gradient(
        circle at top left,
        rgba(217,119,6,.10) 0%,
        rgba(217,119,6,.045) 30%,
        transparent 60%
    ),
    radial-gradient(
        circle at bottom right,
        rgba(217,119,6,.08) 0%,
        rgba(217,119,6,.035) 32%,
        transparent 62%
    ),
    #FAFAFA;

    border:1px solid rgba(0,0,0,.045);
    border-radius:28px;
box-shadow:
    0 8px 22px rgba(0,0,0,.045),
    0 20px 50px rgba(0,0,0,.035);
    
}

.vehicle-main-image img{
    max-width:90%;
    max-height:430px;
    width:auto;
    height:auto;

    display:block;

    object-fit:contain;
    object-position:center;
}


/* =====================================================
   04. QUICK RATE CARD
===================================================== */

.vehicle-quick-info{
    min-width:0;
    min-height:620px;

    display:flex;
    flex-direction:column;
}

.starting-price{
    width:100%;
    flex:1;

    margin-bottom:24px;
    padding:26px;

    display:flex;
    flex-direction:column;

    background:linear-gradient(135deg,#FFF7ED 0%,#FFFBF5 55%,#FFFFFF 100%);
    border:1px solid rgba(217,119,6,.16);
    border-radius:24px;
    box-shadow:0 14px 35px rgba(0,0,0,.055);
}

.starting-label{
    margin-bottom:12px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    color:#9CA3AF;
    font-size:13px;
    font-weight:600;
    line-height:1.4;
    letter-spacing:.6px;
}

.starting-price strong{
    display:block;
    margin-bottom:20px;

    color:#D97706;

    font-size:38px;
    font-weight:600;
    line-height:1.2;
}

.vehicle-mini-table{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.mini-price-row{
    width:100%;
    padding:16px 0;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;

    border-top:1px solid rgba(0,0,0,.06);
}

.mini-price-row span{
    min-width:0;
    color:#6B7280;
    font-size:15px;
    line-height:1.5;
}

.mini-price-row strong{
    flex-shrink:0;
    margin:0;

    color:#D97706;

    font-size:18px;
    font-weight:600;
    line-height:1.3;
}




/* =====================================================
   04.1 DYNAMIC QUICK RATE TABLE
===================================================== */

.quick-rate-table{
    width:100%;
    overflow-x:auto;

    background:#FFFFFF;
    border:1px solid rgba(0,0,0,.07);
    border-radius:20px;
    box-shadow:0 12px 30px rgba(0,0,0,.05);

    scrollbar-width:thin;
    scrollbar-color:#D97706 #F3F4F6;
}

.quick-rate-table table{
    width:max-content;
    min-width:100%;
    border-collapse:collapse;
}

.quick-rate-table thead th{
    min-width:95px;
    padding:16px 15px;

    background:black;
    color:#FFFFFF;

    font-size:13px;
    font-weight:600;
    text-align:center;
    white-space:nowrap;

    border-bottom:1px solid #E5E7EB;
}

.quick-rate-table thead th:first-child{
    min-width:180px;
    padding-left:20px;

    position:sticky;
    left:0;
    z-index:3;

    background: black;
    color:#FFFFFF;
    text-align:left;
}

.quick-rate-table tbody td{
    min-width:95px;
    padding:15px;

    color:#6B7280;

    font-size:14px;
    text-align:center;
    white-space:nowrap;

    border-bottom:1px solid #F0F0F0;
}

.quick-rate-table tbody td:first-child{
    min-width:180px;
    padding-left:20px;

    position:sticky;
    left:0;
    z-index:2;

    background:#FFFFFF;
    color:#222222;

    font-weight:500;
    text-align:left;
}

.quick-rate-table tbody td:not(:first-child){
    color:#D97706;
    font-weight:600;
}

.quick-rate-table tbody tr:nth-child(even){
    background:#FAFAF8;
}

.quick-rate-table tbody tr:nth-child(even) td:first-child{
    background:#FAFAF8;
}

.quick-rate-table tbody tr{
    transition:background .25s ease;
}

.quick-rate-table tbody tr:hover{
    background:#FFF7ED;
}

.quick-rate-table tbody tr:hover td:first-child{
    background:#FFF7ED;
}

.quick-rate-note{
    padding:17px 20px;

    display:flex;
    align-items:flex-start;
    gap:9px;

    color:#6B7280;
    font-size:13px;
    line-height:1.6;

    background:#FFFBF5;
    border-top:1px dashed rgba(217,119,6,.25);
}

.quick-rate-note i{
    flex-shrink:0;
    margin-top:3px;

    color:#D97706;
    font-size:15px;
}

.quick-rate-table::-webkit-scrollbar{
    height:7px;
}

.quick-rate-table::-webkit-scrollbar-thumb{
    background:#D97706;
    border-radius:20px;
}

.quick-rate-table::-webkit-scrollbar-track{
    background:#F3F4F6;
}


/* =====================================================
   05. TOP ACTION BUTTONS
===================================================== */

.vehicle-top-buttons{
    width:100%;

    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:16px;
}

.vehicle-top-buttons a{
    width:100%;
    min-width:0;
    min-height:50px;
    padding:15px 16px;

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

    border-radius:16px;

    font-size:15px;
    font-weight:600;
    line-height:1.3;

    text-align:center;
    text-decoration:none;

    transition:opacity .3s ease,transform .3s ease;
}

.vehicle-top-buttons .vehicle-view{
    background:#FFFFFF;
    color:#D97706;
    border:1px solid #D97706;
}

.vehicle-top-buttons .vehicle-book{
    background:#D97706;
    color:#FFFFFF;
    border:1px solid #D97706;
}

.vehicle-top-buttons a:hover{
    opacity:.9;
    transform:translateY(-1px);
}


/* =====================================================
   06. VEHICLE DETAILS SECTION
===================================================== */

.vehicle-details-section{
    width:100%;
    padding:65px 80px 110px;

    position:relative;

    background:
        linear-gradient(
            180deg,
            #F7F7F5 0%,
            #FAFAF8 110px,
            #FAFAF8 100%
        );

    overflow:hidden;
}



.vehicle-details-section::before{
    content:"";

    position:absolute;
    top:0;
    left:50%;

    width:calc(100% - 160px);
    height:1px;

    transform:translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(217,119,6,.18),
            rgba(0,0,0,.08),
            rgba(217,119,6,.18),
            transparent
        );
}


/* =====================================================
   07. VEHICLE INFO GRID
===================================================== */

.vehicle-info-grid{
    width:100%;
    max-width:1280px;
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    align-items:stretch;
}

.vehicle-info-card{
    min-width:0;
    padding:22px;

    background:#FFFFFF;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.vehicle-info-card h3{
    margin:0 0 12px;

    color:#222222;

    font-size:20px;
    font-weight:500;
    line-height:1.4;
}


/* =====================================================
   08. FEATURE LIST
===================================================== */

.feature-list{
    margin:0;
    padding:0;

    list-style:none;
}

.vehicle-info-card .feature-list li{
    padding:6px 0;

    display:flex;
    align-items:flex-start;
    gap:10px;

    color:#6B7280;

    font-size:14px;
    line-height:1.5;

    border-bottom:1px solid rgba(0,0,0,.05);
}

.vehicle-info-card .feature-list li:last-child{
    border-bottom:none;
}

.vehicle-info-card .feature-list li::before{
    content:"✓";

    flex-shrink:0;

    color:#D97706;

    font-size:16px;
    font-weight:700;
    line-height:1.5;
}

.vehicle-info-card.not-included .feature-list li::before{
    content:"✕";
    color:#DC2626;
}


/* =====================================================
   09. VEHICLE DETAILS CTA
===================================================== */

.vehicle-details-cta{
    width:100%;
    max-width:1280px;

    margin:70px auto 0;
    padding:70px;

    background:#111827;
    

    text-align:center;
}

.vehicle-details-cta h2{
    margin:0 0 14px;

    color:#FFFFFF;

    font-size:36px;
    font-weight:500;
    line-height:1.3;
}

.vehicle-details-cta p{
    margin:0 0 28px;

    color:#D1D5DB;

    font-size:16px;
    line-height:1.8;
}

.vehicle-details-cta a{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 34px;

    background:#D97706;
    color:#FFFFFF;

    border-radius:999px;

    font-size:15px;
    font-weight:600;
    line-height:1.3;

    text-decoration:none;

    transition:background .3s ease,transform .3s ease;
}

.vehicle-details-cta a:hover{
    background:#BF670D;
    color:#FFFFFF;
    transform:translateY(-2px);
}


/* =====================================================
   10. TABLET
===================================================== */

@media (max-width:1024px){

    .vehicle-top-section{
        padding:80px 50px;
        grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
        gap:24px;
    }

    .vehicle-gallery{
        height:470px;
    }

    .vehicle-main-image{
        padding:24px;
    }

    .vehicle-main-image img{
        max-width:94%;
        max-height:370px;
    }

    .vehicle-quick-info{
        min-height:470px;
    }

    .starting-price{
        margin-bottom:24px;
    }

    .mini-price-row{
        gap:12px;
    }

    .vehicle-details-section{
        padding:0 50px 100px;
    }

}


/* =====================================================
   11. MOBILE
===================================================== */

@media (max-width:768px){

    .vehicle-page-hero{
        height:220px;
        padding-top:80px;
    }

    .vehicle-page-hero .page-overlay h1{
        font-size:34px;
    }

    .vehicle-top-section{
        padding:70px 24px;

        grid-template-columns:1fr;
        gap:30px;
    }

    .vehicle-header-info{
        grid-column:auto;
        margin-bottom:0;
    }

    .vehicle-header-info h1{
        font-size:32px;
    }

    .vehicle-gallery{
        height:320px;
    }

    .vehicle-main-image{
        padding:20px;
        border-radius:22px;
    }

    .vehicle-main-image img{
        max-width:94%;
        max-height:260px;
    }

    .vehicle-quick-info{
        min-height:0;
    }

    .vehicle-top-buttons{
        grid-template-columns:1fr;
        gap:12px;
    }

    .vehicle-details-section{
        padding:0 24px 90px;
    }

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

    .vehicle-details-cta{
        margin-top:55px;
        padding:45px 30px;
        border-radius:24px;
    }

    .vehicle-details-cta h2{
        font-size:31px;
    }

}


/* =====================================================
   12. SMALL MOBILE
===================================================== */

@media (max-width:430px){

    .vehicle-page-hero .page-overlay{
        padding:0 20px;
    }

    .vehicle-page-hero .page-overlay h1{
        font-size:30px;
    }

    .vehicle-page-hero .page-overlay p{
        font-size:15px;
    }

    .vehicle-top-section{
        padding:60px 20px;
    }

    .vehicle-header-info h1{
        font-size:28px;
    }

    .vehicle-header-info p{
        font-size:15px;
        line-height:1.8;
    }

    .vehicle-quick-specs{
        gap:10px;
    }

    .vehicle-quick-specs span{
        padding:10px 14px;
        font-size:13px;
    }

    .vehicle-gallery{
        height:280px;
    }

    .vehicle-main-image{
        padding:16px;
    }

    .vehicle-main-image img{
        max-width:96%;
        max-height:225px;
    }

    .starting-price{
        padding:16px;
        border-radius:18px;
    }

    .mini-price-row{
        align-items:flex-start;
    }

    .mini-price-row span{
        font-size:14px;
    }

    .mini-price-row strong{
        font-size:16px;
        text-align:right;
    }

    .vehicle-top-buttons a{
        min-height:46px;
        padding:13px 14px;
        font-size:14px;
    }

    .vehicle-details-section{
        padding:0 20px 80px;
    }

    .vehicle-info-card{
        padding:20px;
    }

    .vehicle-details-cta{
        padding:40px 22px;
    }

    .vehicle-details-cta h2{
        font-size:28px;
    }

    .vehicle-details-cta p{
        font-size:15px;
    }

}


/* =====================================================
   13. FINAL INTERNAL HERO CONSISTENCY
===================================================== */

.page-hero.vehicle-page-hero{
    background:linear-gradient(135deg,#F7F7F7,#FFFFFF);
}

.page-hero.vehicle-page-hero .page-overlay h1{
    color:#222222;
}

.page-hero.vehicle-page-hero .page-overlay p{
    color:#6B7280;
}


/* =====================================================
   14. FINAL RESPONSIVE BALANCE
===================================================== */

@media (max-width:1024px){

    .vehicle-top-section{
        padding:70px 50px 50px;
        grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
        gap:24px;
        align-items:stretch;
    }

    .vehicle-gallery,
    .vehicle-main-image,
    .vehicle-quick-info{
        min-height:520px;
    }

    .vehicle-details-section{
        padding:55px 50px 100px;
    }

    .vehicle-details-section::before{
        width:calc(100% - 100px);
    }

    .vehicle-info-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media (max-width:768px){

    .vehicle-top-section{
        padding:70px 24px 45px;
        grid-template-columns:1fr;
        gap:30px;
    }

    .vehicle-gallery{
        height:320px;
        min-height:0;
    }

    .vehicle-main-image{
        height:100%;
        min-height:0;
    }

    .vehicle-quick-info{
        min-height:0;
    }

    .starting-price{
        flex:none;
    }

    .quick-rate-table table{
        min-width:750px;
    }

    .vehicle-details-section{
        padding:50px 24px 90px;
    }

    .vehicle-details-section::before{
        width:calc(100% - 48px);
    }

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

}

@media (max-width:430px){

    .vehicle-top-section{
        padding:60px 20px 40px;
    }

    .vehicle-gallery{
        height:280px;
    }

    .vehicle-details-section{
        padding:45px 20px 80px;
    }

    .vehicle-details-section::before{
        width:calc(100% - 40px);
    }

}


/* =====================================================
   15. VEHICLE TOP FINAL RESPONSIVE BALANCE
===================================================== */


/* =====================================================
   15.1 LIGHTER VEHICLE IMAGE ORANGE FADE
===================================================== */

.vehicle-main-image{
    background:
        radial-gradient(
            circle at top left,
            rgba(217,119,6,.055) 0%,
            rgba(217,119,6,.025) 30%,
            transparent 60%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(217,119,6,.045) 0%,
            rgba(217,119,6,.020) 32%,
            transparent 62%
        ),
        #FAFAFA;
}


/* =====================================================
   15.2 TABLET / IPAD / SURFACE
===================================================== */

@media (min-width:769px) and (max-width:1024px){

    .vehicle-top-section{
        grid-template-columns:
            minmax(0,1.15fr)
            minmax(0,.85fr);

        align-items:stretch;
    }

    .vehicle-gallery{
        width:100%;

        height:100%;
        min-height:620px;

        align-self:stretch;
    }

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

        height:100%;
        min-height:620px;
    }

    .vehicle-quick-info{
        min-height:620px;

        align-self:stretch;
    }

}


/* =====================================================
   15.3 MOBILE / SURFACE DUO
===================================================== */

@media (max-width:768px){

    .vehicle-gallery{
        width:100%;

        height:520px;
        min-height:520px;
    }

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

        height:520px;
        min-height:520px;
    }

    .vehicle-main-image img{
        max-width:94%;
        max-height:390px;
    }

    .vehicle-quick-info{
        width:100%;

        min-height:520px;
    }

}


/* =====================================================
   15.4 SMALL MOBILE
===================================================== */

@media (max-width:430px){

    .vehicle-gallery{
        height:500px;
        min-height:500px;
    }

    .vehicle-main-image{
        height:500px;
        min-height:500px;
    }

    .vehicle-main-image img{
        max-width:96%;
        max-height:350px;
    }

    .vehicle-quick-info{
        min-height:500px;
    }

}

/* =====================================================
   15. MOBILE VEHICLE IMAGE + QUICK RATE FIX
===================================================== */

@media (max-width:768px){

    /* -----------------------------
       COMPACT VEHICLE IMAGE
    ----------------------------- */

    .vehicle-gallery{
        width:100%;
        height:240px;
        min-height:0;
    }

    .vehicle-main-image{
        width:100%;
        height:240px;
        min-height:0;
        padding:16px;

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

    .vehicle-main-image img{
        width:auto;
        height:auto;

        max-width:92%;
        max-height:200px;

        object-fit:contain;
    }


    /* -----------------------------
       QUICK RATE CARD
    ----------------------------- */

    .starting-price{
        width:100%;
        padding:16px;
    }

    .quick-rate-table{
        width:100%;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    .quick-rate-table table{
        width:max-content;
        min-width:0;
    }

    .quick-rate-table thead th{
        min-width:88px;
        padding:13px 10px;

        font-size:12px;
    }

    .quick-rate-table thead th:first-child{
        min-width:135px;
        padding-left:14px;
    }

    .quick-rate-table tbody td{
        min-width:88px;
        padding:13px 10px;

        font-size:13px;
    }

    .quick-rate-table tbody td:first-child{
        min-width:135px;
        padding-left:14px;
    }

    .quick-rate-note{
        padding:14px;

        font-size:12px;
    }

}


@media (max-width:430px){

    .vehicle-gallery,
    .vehicle-main-image{
        height:210px;
    }

    .vehicle-main-image{
        padding:14px;
    }

    .vehicle-main-image img{
        max-width:94%;
        max-height:175px;
    }

    .starting-price{
        padding:14px;
    }

    .quick-rate-table thead th{
        min-width:82px;
        padding:12px 8px;
    }

    .quick-rate-table thead th:first-child{
        min-width:125px;
        padding-left:12px;
    }

    .quick-rate-table tbody td{
        min-width:82px;
        padding:12px 8px;

        font-size:12px;
    }

    .quick-rate-table tbody td:first-child{
        min-width:125px;
        padding-left:12px;
    }

}

/* =====================================================
   16. MOBILE QUICK RATE COLUMN BALANCE
===================================================== */

@media (max-width:768px){

    /* -----------------------------
       SINGLE PRICE COLUMN
    ----------------------------- */

    .quick-rate-table.single-price-column table{
        width:100%;
        min-width:100%;
        table-layout:fixed;
    }

    .quick-rate-table.single-price-column thead th:first-child,
    .quick-rate-table.single-price-column tbody td:first-child{
        width:58%;
        min-width:0;
    }

    .quick-rate-table.single-price-column thead th:not(:first-child),
    .quick-rate-table.single-price-column tbody td:not(:first-child){
        width:42%;
        min-width:0;
    }


    /* -----------------------------
       TWO PRICE COLUMNS
    ----------------------------- */

    .quick-rate-table.double-price-column table{
        width:100%;
        min-width:100%;
        table-layout:fixed;
    }

    .quick-rate-table.double-price-column thead th:first-child,
    .quick-rate-table.double-price-column tbody td:first-child{
        width:46%;
        min-width:0;
    }

    .quick-rate-table.double-price-column thead th:not(:first-child),
    .quick-rate-table.double-price-column tbody td:not(:first-child){
        width:27%;
        min-width:0;
    }


    /* -----------------------------
       MULTIPLE PRICE COLUMNS
    ----------------------------- */

    .quick-rate-table.multiple-price-columns table{
        width:max-content;
        min-width:100%;
        table-layout:auto;
    }

}