/* ========================================
   VÉHICULES PAGE STYLES - REFONTE
   ======================================== */

/* Variables */
:root {
    --gold: #D8B96F;
    --gold-light: #E5C97F;
    --white: #FFFFFF;
    --text-light: #EAEAEA;
    --text-muted: #CCCCCC;
    --black: #000000;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Futura PT', 'Century Gothic', 'Futura', Arial, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-image: url('../images/backgrounds/fond-conciergerie.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--black);
    color: var(--white);
    min-height: 100vh;
}

/* Overlay global */
.vehicules-page {
    position: relative;
    z-index: 1;
}

.vehicules-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   HEADER
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 80px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    border-bottom: 1px solid rgba(216, 185, 111, 0.3);
}

.header-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 50px;
    position: relative;
    gap: 14px;
}

.logo {
    position: relative;
    left: auto;
    transform: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-right {
    display: flex;
    gap: 25px;
    margin-left: 0;
    align-items: center;
    justify-content: center;
}

.nav-right > a,
.dropdown-toggle {
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    cursor: pointer;
    line-height: 1;
}

.nav-right > a:hover,
.dropdown-toggle:hover {
    color: var(--white);
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */
.lang-selector {
    position: relative;
}
.lang-btn {
    background: rgba(216,185,111,0.08);
    border: 1px solid rgba(216,185,111,0.4);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}
.lang-btn:hover {
    background: rgba(216,185,111,0.2);
    border-color: var(--gold);
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(10,10,10,0.97);
    border: 1px solid rgba(216,185,111,0.4);
    border-radius: 12px;
    padding: 6px 0;
    min-width: 160px;
    display: none;
    z-index: 9999;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.lang-dropdown.open {
    display: block;
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}
.lang-option:hover {
    background: rgba(216,185,111,0.12);
    color: var(--gold);
}
.lang-option.active {
    color: var(--gold);
    font-weight: 600;
}

/* Bouton principal Réservation dans le header */
.nav-right > a.btn-reservation {
    padding: 10px 24px;
    border-radius: 999px;
    background-color: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 11px;
    box-shadow: 0 4px 14px rgba(216, 185, 111, 0.35);
}

.nav-right > a.btn-reservation:hover {
    background-color: #c4a55e;
    border-color: #c4a55e;
    color: var(--black);
    transform: translateY(-1px);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(216, 185, 111, 0.3);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 15px;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    text-decoration: none;
    font-family: var(--font-heading);
}

.dropdown-menu a:hover {
    background: rgba(216, 185, 111, 0.1);
    border-left-color: var(--gold);
    padding-left: 25px;
    color: var(--white);
}

/* ========================================
   PAGE HERO
   ======================================== */
.page-hero {
    padding: 200px 50px 40px;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 32px;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-subtitle {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 14px;
    color: var(--gold);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   VEHICLE SLIDER - NOUVELLE STRUCTURE
   ======================================== */
.vehicle-slider {
    padding: 40px 0 80px;
    min-height: auto;
    display: flex;
    align-items: flex-start;
}

.vehicle-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

/* ========================================
   COLONNE GAUCHE : TEXTE + ÉQUIPEMENTS
   ======================================== */
.vehicle-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vehicle-text {
    transition: all 0.4s ease;
}

.vehicle-text h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vehicle-text p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

.vehicle-text.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

/* Équipements sous la description */
.vehicle-equipements {
    margin-top: 10px;
    transition: all 0.4s ease;
}

.vehicle-equipements h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.vehicle-equipements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vehicle-equipements li {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-light);
    padding: 8px 0;
    border-bottom: 1px solid rgba(216, 185, 111, 0.15);
}

.vehicle-equipements li:last-child {
    border-bottom: none;
}

.vehicle-equipements.fade-out {
    opacity: 0;
}

/* ========================================
   COLONNE CENTRE : GALERIE
   ======================================== */
.vehicle-gallery {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Image principale avec flèches */
/* Photo Grid 2x2 */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.photo-grid-cell {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(216, 185, 111, 0.2);
    cursor: pointer;
}

.photo-grid-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-grid-cell:hover img {
    transform: scale(1.05);
}

.photo-grid-cell:hover {
    border-color: var(--gold);
}

.photo-grid-more {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 1px;
    pointer-events: none;
}

/* ========================================
   COLONNE DROITE : CATALOGUE AGRANDI
   ======================================== */
.vehicle-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vehicle-nav .nav-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 8px;
}

.vehicle-nav .nav-section h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(216, 185, 111, 0.3);
}

.vehicle-nav .nav-item {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
    text-align: center;
    margin-bottom: 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.vehicle-nav .nav-item:hover:not(.active) {
    background: rgba(216, 185, 111, 0.15);
    color: var(--gold);
    border-color: rgba(216, 185, 111, 0.3);
}

.vehicle-nav .nav-item.active {
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
    border-color: var(--gold);
}

/* Bouton Réserver */
.nav-cta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(216, 185, 111, 0.2);
}

.cta-link {
    display: block;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
    background: var(--gold);
    text-decoration: none;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s;
}

.cta-link:hover {
    background: #C8A55F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 185, 111, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 50px 50px 20px;
    border-top: 1px solid rgba(216, 185, 111, 0.2);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(216, 185, 111, 0.2);
}

.footer-brand {
    text-align: left;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 18px;
}

.footer-address {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.8;
    color: #999;
    margin-bottom: 12px;
}

.footer-address p {
    margin: 3px 0;
}

.footer-address a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-address a:hover {
    color: var(--gold);
}

.footer-availability {
    font-size: 10px;
    color: var(--gold);
    font-style: italic;
    margin-top: 8px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-nav a {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 400;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-icon:hover {
    background-color: var(--gold);
    color: var(--black);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 18px;
    text-align: center;
}

.footer-bottom p {
    font-size: 10px;
    color: #666;
    font-family: var(--font-body);
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .vehicle-container {
        grid-template-columns: 1fr 1.8fr 1fr;
        gap: 35px;
    }

    .vehicle-gallery {
        max-width: 420px;
    }
}

@media (max-width: 1024px) {
    .vehicle-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .vehicle-info {
        order: 1;
        text-align: center;
    }

    .vehicle-gallery {
        order: 2;
        max-width: 380px;
    }

    .vehicle-nav {
        order: 3;
    }

    .vehicle-nav .nav-section {
        max-width: 320px;
        margin: 0 auto;
    }

    .nav-cta {
        max-width: 320px;
        margin: 20px auto 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    header {
        height: auto;
        padding: 15px 0;
    }

    .logo {
        position: relative;
        left: auto;
        transform: none;
    }

    .nav-right {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        right: 0;
        bottom: 0;
        background: #000;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 22px;
        z-index: 9999;
        padding: 80px 20px;
        overflow-y: auto;
    }
    .nav-right.nav-open {
        display: flex;
    }
    header:has(.nav-open) {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: transparent !important;
        border-bottom-color: transparent !important;
        overflow: visible !important;
    }
    .nav-right > a,
    .nav-right .dropdown-toggle {
        font-size: 15px !important;
        letter-spacing: 3px;
    }
    .nav-right .dropdown-toggle::after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid var(--gold);
        border-bottom: 1.5px solid var(--gold);
        transform: rotate(45deg);
        margin-left: 8px;
        vertical-align: middle;
        transition: transform 0.3s;
    }
    .nav-right .dropdown.open .dropdown-toggle::after {
        transform: rotate(-135deg);
    }
    .nav-right .btn-reservation {
        padding: 14px 36px;
        font-size: 14px;
    }
    .nav-right .dropdown {
        flex-direction: column;
        align-items: center;
    }
    .nav-right .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        text-align: center;
        min-width: auto;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
        margin: 0;
    }
    .nav-right .dropdown.open .dropdown-menu {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .nav-right .dropdown-menu a {
        font-size: 12px;
        border-left: none;
        padding: 6px 10px;
        text-align: center;
    }
    .hamburger-btn { display: flex; }
    .lang-selector { margin-top: 10px; }

    .page-hero {
        padding: 160px 25px 30px;
    }

    .page-title {
        font-size: 26px;
    }

    .vehicle-slider {
        padding: 30px 0 60px;
    }

    .vehicle-container {
        padding: 0 25px;
    }

    .vehicle-text h2 {
        font-size: 18px;
    }

    .vehicle-gallery {
        max-width: 300px;
    }

    .photo-grid {
        gap: 4px;
    }

    .photo-grid-more {
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}

