/* ============================================================
   VEHICLE PAGE STYLES
   Used on individual vehicle detail pages (e.g., /Luxury-Sedan)
   ============================================================ */

/* ---- Hero Section ---- */
.vp-hero {
    position: relative;
    background: linear-gradient(135deg, var(--rd-dark) 0%, #1a1520 100%);
    padding: 120px 20px 60px;
    text-align: center;
    overflow: hidden;
}
.vp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(169,119,8,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.vp-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.vp-hero-badge {
    display: inline-block;
    background: rgba(169,119,8,0.15);
    color: var(--rd-gold);
    font-family: var(--rd-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.vp-hero h1 {
    font-family: var(--rd-font-display);
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}
.vp-hero-tagline {
    font-family: var(--rd-font);
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 30px;
    line-height: 1.5;
}
.vp-hero-image {
    max-width: 520px;
    width: 100%;
    margin: 0 auto 30px;
    display: block;
}
.vp-hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* ---- Specs Strip ---- */
.vp-specs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.vp-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 500;
}
.vp-spec i {
    color: var(--rd-gold);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* ---- Content Wrapper ---- */
.vp-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}

/* ---- Two-column layout ---- */
.vp-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* ---- Description Section ---- */
.vp-description {
    background: #fff;
    border-radius: var(--rd-radius);
    padding: 40px;
    box-shadow: var(--rd-shadow);
}
.vp-description h2 {
    font-family: var(--rd-font-display);
    font-size: 26px;
    color: var(--rd-text);
    margin: 0 0 20px;
}
.vp-description p {
    font-family: var(--rd-font);
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin: 0 0 16px;
}
.vp-description p:last-child {
    margin-bottom: 0;
}

/* ---- Features List ---- */
.vp-features {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--rd-border);
}
.vp-features h3 {
    font-family: var(--rd-font-display);
    font-size: 20px;
    color: var(--rd-text);
    margin: 0 0 16px;
}
.vp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.vp-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--rd-font);
    font-size: 14px;
    color: #444;
    padding: 8px 0;
}
.vp-feature i {
    color: var(--rd-gold);
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ---- Ideal For Section ---- */
.vp-ideal {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--rd-border);
}
.vp-ideal h3 {
    font-family: var(--rd-font-display);
    font-size: 20px;
    color: var(--rd-text);
    margin: 0 0 16px;
}
.vp-ideal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.vp-ideal-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rd-light);
    border: 1px solid var(--rd-border);
    border-radius: 50px;
    padding: 8px 16px;
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-text);
    text-decoration: none;
    transition: var(--rd-transition);
}
.vp-ideal-tag:hover {
    border-color: var(--rd-gold);
    color: var(--rd-gold);
}
.vp-ideal-tag i {
    color: var(--rd-gold);
    font-size: 13px;
}

/* ---- Sidebar Rate Div ---- */
.vp-rate-card {
    background: #fff;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    border: 1.5px solid #a67c00;
    position: sticky;
    top: 100px;
    overflow: visible;
}
.vp-rate-card-header {
    background: var(--rd-dark);
    padding: 20px 24px;
    border-radius: var(--rd-radius) var(--rd-radius) 0 0;
    text-align: center;
}
.vp-rate-card-header h3 {
    font-family: var(--rd-font-display);
    font-size: 20px;
    color: #d4b86a;
    margin: 0 0 4px;
}
.vp-rate-card-header p {
    font-family: var(--rd-font);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.vp-rate-card-body {
    padding: 20px;
}
/* Make the full rate div fit inside the sidebar card */
.vp-rate-card-body .rate-div {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}
/* Tabs: smaller font, wrap for narrow sidebar */
.vp-rate-card-body .rd-tabs {
    padding: 4px;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
}
.vp-rate-card-body .rd-tabs label {
    font-size: 11px;
    padding: 6px 10px;
}
/* Hide the floating pill in sidebar (tabs too narrow) */
.vp-rate-card-body .rd-tabs-pill {
    display: none;
}
/* Locations stack vertically */
.vp-rate-card-body .rd-fields--locations {
    grid-template-columns: 1fr;
}
/* Hide swap button in sidebar */
.vp-rate-card-body .rd-swap {
    display: none;
}
/* Pax row: stack vertically */
.vp-rate-card-body .rd-pax-row {
    grid-template-columns: 1fr;
}
/* CTA full width */
.vp-rate-card-body .rd-field--cta {
    width: 100%;
}
/* Return fields: stack vertically */
.vp-rate-card-body .rd-extra-row--return {
    grid-template-columns: 1fr;
}
.vp-rate-card-body .rd-extra-row--return-pax {
    grid-template-columns: 1fr;
}
/* Hourly/wait rows: stack */
.vp-rate-card-body .rd-extra-row--hourly,
.vp-rate-card-body .rd-extra-row--wait {
    grid-template-columns: 1fr;
}
/* Luggage panel: ensure visible */
.vp-rate-card-body .rd-luggage-panel {
    z-index: 100;
}

/* ---- Explore Fleet Section ---- */
.vp-explore {
    padding: 60px 20px;
    background: var(--rd-light);
}
.vp-explore-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.vp-explore h2 {
    font-family: var(--rd-font-display);
    font-size: 28px;
    color: var(--rd-text);
    text-align: center;
    margin: 0 0 8px;
}
.vp-explore-sub {
    font-family: var(--rd-font);
    font-size: 15px;
    color: var(--rd-text-light);
    text-align: center;
    margin: 0 0 36px;
}
.vp-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.vp-vehicle-card {
    background: #fff;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    overflow: hidden;
    text-decoration: none;
    transition: var(--rd-transition);
    display: flex;
    flex-direction: column;
}
.vp-vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.vp-vehicle-card-img {
    background: #f0ede8;
    padding: 20px;
    text-align: center;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vp-vehicle-card-img img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}
.vp-vehicle-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.vp-vehicle-card-name {
    font-family: var(--rd-font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--rd-text);
    margin: 0 0 6px;
}
.vp-vehicle-card-meta {
    font-family: var(--rd-font);
    font-size: 12px;
    color: var(--rd-text-light);
    margin: 0 0 12px;
}
.vp-vehicle-card-meta i {
    color: var(--rd-gold);
    margin-right: 3px;
}
.vp-vehicle-card-link {
    margin-top: auto;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-gold);
    display: flex;
    align-items: center;
    gap: 4px;
}
.vp-vehicle-card-link i {
    font-size: 11px;
    transition: transform 0.2s;
}
.vp-vehicle-card:hover .vp-vehicle-card-link i {
    transform: translateX(3px);
}

/* ---- View All Fleet CTA ---- */
.vp-explore-cta {
    text-align: center;
    margin-top: 30px;
}
.vp-explore-cta a {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--rd-gold);
    border-radius: 50px;
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--rd-gold);
    text-decoration: none;
    transition: var(--rd-transition);
}
.vp-explore-cta a:hover {
    background: var(--rd-gold);
    color: var(--rd-text);
}

/* ---- Fleet Overview Page ---- */
.vp-fleet-hero {
    background: linear-gradient(135deg, var(--rd-dark) 0%, #1a1520 100%);
    padding: 120px 20px 50px;
    text-align: center;
}
.vp-fleet-hero h1 {
    font-family: var(--rd-font-display);
    font-size: 42px;
    color: #fff;
    margin: 0 0 12px;
}
.vp-fleet-hero p {
    font-family: var(--rd-font);
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.vp-fleet-grid-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}
.vp-fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .vp-grid {
        grid-template-columns: 1fr;
    }
    .vp-rate-card {
        position: static;
        max-width: 480px;
        max-width: min(480px, 100%);
        margin: 0 auto;
    }
    .vp-explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vp-fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .vp-hero {
        padding: 100px 16px 40px;
    }
    .vp-hero h1 {
        font-size: 28px;
    }
    .vp-hero-image {
        max-width: 320px;
    }
    .vp-specs {
        gap: 16px;
    }
    .vp-spec {
        font-size: 13px;
    }
    .vp-description {
        padding: 24px;
    }
    .vp-description h2 {
        font-size: 22px;
    }
    .vp-features-grid {
        grid-template-columns: 1fr;
    }
    .vp-content {
        padding: 30px 16px 40px;
    }
    .vp-explore-grid {
        grid-template-columns: 1fr;
    }
    .vp-fleet-grid {
        grid-template-columns: 1fr;
    }
    .vp-fleet-hero h1 {
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    .vp-hero {
        padding: 80px 12px 30px;
    }
    .vp-hero h1 {
        font-size: 24px;
    }
    .vp-hero-tagline {
        font-size: 14px;
    }
    .vp-hero-image {
        max-width: 280px;
    }
    .vp-specs {
        gap: 12px;
    }
    .vp-spec {
        font-size: 12px;
    }
    .vp-description {
        padding: 16px;
    }
    .vp-description h2 {
        font-size: 20px;
    }
    .vp-description p {
        font-size: 14px;
    }
    .vp-content {
        padding: 20px 12px 30px;
    }
    .vp-explore h2 {
        font-size: 22px;
    }
    .vp-fleet-hero h1 {
        font-size: 24px;
    }
    .vp-fleet-grid-wrap {
        padding: 30px 12px 40px;
    }
}
@media (max-width: 375px) {
    .vp-hero {
        padding: 70px 10px 24px;
    }
    .vp-hero h1 {
        font-size: 22px;
    }
    .vp-hero-image {
        max-width: 240px;
    }
    .vp-description {
        padding: 12px;
    }
    .vp-description h2 {
        font-size: 18px;
    }
    .vp-content {
        padding: 16px 10px 24px;
    }
}
