:root {
    --gold: #c5a021;
    --gold-light: #d4af37;
    --dark: #0f0f0f;
    --dark-accent: #1a1a1a;
    --light: #f9f9f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: #333;
    line-height: 1.8;
    scroll-behavior: smooth;
}

.main-wrapper {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* --- NAVIGATION --- */
.nav-container {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: 0.4s;
    background: var(--dark); /* Keep black to blend with logo */
}

.nav-container.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--gold);
}

.nav-flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* DESKTOP NAV LINKS */
.nav-links-desktop {
    display: none;
    list-style: none;
    gap: 25px;
}

.nav-links-desktop a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

.nav-links-desktop a:hover::after {
    width: 100%;
}

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

/* HAMBURGER */
.hamburger {
    display: block; /* Toujours visible */
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    transition: 0.3s;
}

.hamburger:hover {
    color: var(--gold);
}

.nav-side-zone {
    flex: 1; /* Permet au logo de rester centré */
    display: flex;
    align-items: center;
}

.nav-side-zone:last-child {
    justify-content: flex-end;
}

.logo-header {
    width: 120px;
    height: auto;
    transition: 0.3s;
}

.nav-container.scrolled .logo-header {
    width: 100px;
}

/* Hide Google Translate Gadget UI */
#google_translate_element {
    display: none !important;
}

.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

/* --- HERO SECTION --- */
header {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.carousel-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.1); /* Ken Burns Effect */
}

.carousel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 10;
}

header h1 {
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--white);
}

.btn {
    background: linear-gradient(135deg, var(--gold), #b8962d);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(197, 160, 33, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 160, 33, 0.5);
}

/* --- SECTIONS --- */
section {
    padding: 120px 0;
    overflow-x: hidden; /* Prevent AOS animations from creating gaps */
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--gold);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- FLOTTE --- */
#flotte {
    background: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Specific centering for the fleet categories */
#flotte .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

#flotte .card {
    flex: 0 1 350px;
    margin-bottom: 20px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.badge {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.5s;
}

.card:hover img {
    transform: scale(1.05);
}

.card-body {
    padding: 35px;
    text-align: center;
}

.card-body h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.card-body p {
    color: #666;
    font-size: 1.1rem;
}

/* --- CHAUFFEURS --- */
.chauffeurs {
    background: var(--dark);
    color: var(--white);
    position: relative;
}

.chauffeurs .section-title {
    color: var(--white);
}

.chauffeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 80px;
    align-items: center;
}

.chauffeur-img-wrapper {
    position: relative;
}

.chauffeur-img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.chauffeur-img-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    z-index: 1;
}

.chauffeurs-text h2 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 30px;
    text-align: left;
}

.chauffeurs-text p {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--gold);
    margin-right: 20px;
    font-size: 1.5rem;
}

/* --- DESTINATIONS --- */
#destinations {
    background: var(--light);
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dest-card {
    position: relative;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

.dest-card:hover img {
    transform: scale(1.15);
}

.dest-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.dest-overlay h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.dest-overlay p {
    font-size: 1rem;
    opacity: 0.8;
}

/* --- AVIS CLIENTS --- */
#avis {
    background: #fff;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    padding: 40px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--gold);
}

.testimonial-card i {
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.stars {
    color: #ffcc00;
    margin-bottom: 20px;
}

.client-info {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

.contact-box {
    max-width: 800px;
    margin: auto;
    background: var(--white);
    padding: 80px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

input, select, textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
    background: #fdfdfd;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
}

button[type="submit"] {
    background: var(--gold);
    color: var(--white);
    padding: 22px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(197, 160, 33, 0.2);
}

button[type="submit"]:hover {
    background: var(--gold-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 160, 33, 0.4);
}

/* --- WHATSAPP --- */
.whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark);
    color: #888;
    padding: 80px 0;
    text-align: center;
}

.logo-footer {
    width: 140px;
    display: block;
    margin: 0 auto 30px auto;
    filter: brightness(1.2);
    mix-blend-mode: screen; /* Transparency trick */
}

footer p {
    font-size: 1rem;
    letter-spacing: 1px;
}

/* --- MODAL / POPUP --- */
#thankYouPopup {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    max-width: 450px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    section { padding: 80px 0; }
    header h1 { font-size: 3.5rem; }
    .section-title { font-size: 2.5rem; }
    .chauffeurs-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .chauffeurs-text h2 { text-align: center; }
    .feature-list li { justify-content: center; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; } /* Moins d'espace sur les côtés */
    header h1 { font-size: 2.8rem; letter-spacing: 2px; }
    header p { font-size: 1.4rem; }
    .contact-box { padding: 40px 15px; border-radius: 20px; }
}

@media (max-width: 600px) {
    section { padding: 60px 0; }
    .container { padding: 0 10px; } /* Ajustement bord-à-bord presque total */
    header h1 { font-size: 2rem; margin-top: 20px; }
    header p { font-size: 1.1rem; }
    .btn { padding: 15px 30px; width: 100%; border-radius: 10px; }
    .section-title { font-size: 2.2rem; }
    .grid { grid-template-columns: 1fr; gap: 20px; }
    .logo-header { width: 90px; } /* Logo plus petit sur mobile */
}

@media (max-width: 480px) {
    header h1 { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
}

/* --- SIDEBAR MENU --- */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--dark);
    z-index: 9999;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    overflow-y: auto; /* Permet le scroll si le menu est trop long */
    overflow-x: hidden;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.logo-sidebar {
    width: 150px;
}

.close-sidebar {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 25px;
}

.sidebar-links a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-links a i {
    color: var(--gold);
    width: 25px;
    text-align: center;
}

.sidebar-links a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.sidebar-footer {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.05); /* Légèrement plus clair */
    padding: 30px 20px;
    margin: 30px -20px 0 -20px; /* Suppression du décalage négatif en bas */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-whatsapp-sidebar {
    background: #25d366;
    color: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-sidebar:hover {
    transform: translateY(-3px);
    background: #1eb954;
}

.social-links-sidebar p {
    color: var(--gold); /* Plus visible */
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s;
    border: 1px solid rgba(197, 160, 33, 0.2);
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(197, 160, 33, 0.4);
}

.social-icons a.disabled {
    opacity: 0.3;
    cursor: default;
}

@media (max-width: 600px) {
    .sidebar-menu {
        width: 280px;
        left: -280px;
    }
}

@media (min-width: 1025px) {
    .nav-links-desktop {
        display: none !important; /* Désativé car l'utilisateur préfère le menu latéral */
    }
}
