/* Variables */
:root {
    --primary-color: #ffbc50;
    --secondary-color: #ffb747;
    --text-color: #333;
    --background-color: #fff;
    --light-orange: #FFF8F3;
    --footer-bg: #f8f9fa;
    --footer-text: #555;
    --footer-heading: #333;
    --footer-link: #ffb747;
    --footer-link-hover: #ffbc50;
    --shape-primary: var(--primary-color);
    --shape-secondary: var(--secondary-color);
    --shape-light: var(--light-orange);

    /* Tailles de texte */
    --font-size-base: 16px;
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-md: 1rem;        /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */
    --font-size-3xl: 2rem;       /* 32px */
    --font-size-4xl: 2.5rem;     /* 40px */
    --font-size-5xl: 3rem;     /* 40px */

    /* Line heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
}

/* Media queries pour la typographie responsive */
@media screen and (min-width: 1440px) {
    :root {
        --font-size-base: 18px;
        --font-size-xs: 0.875rem;    /* 14px */
        --font-size-sm: 1rem;        /* 16px */
        --font-size-md: 1.125rem;    /* 18px */
        --font-size-lg: 1.25rem;     /* 20px */
        --font-size-xl: 1.5rem;      /* 24px */
        --font-size-2xl: 1.75rem;    /* 28px */
        --font-size-3xl: 2.25rem;    /* 36px */
        --font-size-4xl: 3rem;       /* 48px */
    }
}

@media screen and (min-width: 1920px) {
    :root {
        --font-size-base: 20px;
        --font-size-xs: 1rem;        /* 16px */
        --font-size-sm: 1.125rem;    /* 18px */
        --font-size-md: 1.25rem;     /* 20px */
        --font-size-lg: 1.5rem;      /* 24px */
        --font-size-xl: 1.75rem;     /* 28px */
        --font-size-2xl: 2rem;       /* 32px */
        --font-size-3xl: 2.5rem;     /* 40px */
        --font-size-4xl: 6rem;     /* 56px */
    }
}

/* Reset de base */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Conteneur principal */
.main-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-image: url('/images/fond-thailande-illustration-page-2-sans-fond.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1680px auto;
    background-attachment: fixed;
    position: relative;
}

/* Formes polygonales décoratives */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
}

/* Forme 1 - Triangle décoratif en haut à droite */
body::before {
    top: -15%;
    right: -10%;
    width: 60%;
    max-width: 1020px;
    height: 60%;
    background-color: var(--shape-primary);
    opacity: 0.1;
    border-radius: 50%;
}

/* Forme 2 - Polygone en bas à gauche */
body::after {
    bottom: -15%;
    left: -20%;
    width: 50%;
    max-width: 1420px;
    height: 50%;
    background-color: var(--shape-secondary);
    opacity: 0.1;
    border-radius: 50%;
}

/* Formes supplémentaires */
.decorative-shape-1,
.decorative-shape-2 {
    position: fixed;
    pointer-events: none;
}

.decorative-shape-1 {
    top: 30%;
    right: 5%;
    width: 200px;
    height: 200px;
    background-color: var(--shape-light);
    opacity: 0.1;
    border-radius: 50%;
}

.decorative-shape-2 {
    bottom: 20%;
    left: 15%;
    width: 150px;
    height: 150px;
    background-color: var(--shape-primary);
    opacity: 0.1;
    border-radius: 50%;
}

/* Styles pour les fonds de section */
h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 2rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

/* Style pour les titres alignés à gauche si nécessaire */
h2.text-left {
    justify-content: flex-start;
    text-align: left;
}

h2.text-left::after {
    left: 0;
    transform: none;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    filter: none;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.header.hide {
    transform: translateY(-100%);
}

.header.scrolled .nav-links a {
    color: #000 !important;
    transition: color 0.3s ease-in-out;
}

.header.scrolled .nav-menu {
    padding: 5px 15px;
    transition: all 0.3s ease-in-out;
}

.header .logo img {
    transition: transform 0.3s ease-in-out;
}

.header.scrolled .logo {
    opacity: 1;
    visibility: visible;
}

.header.scrolled .logo img {
    transform: scale(0.9);
}

.nav-menu {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
    position: relative;
}

.logo {
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo img {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffbc50;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    background-color: #ffbc50;
}

.nav-links a:hover::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.7rem 2rem;
    background-color: #ffb747;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: var(--font-size-md);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    background-color: #f8a827;
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Masquer par défaut */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: absolute;
    right: 15px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #FFF; /* Couleur par défaut (ouverture) */
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Style lorsque le header a la classe 'scrolled' */
header.scrolled .mobile-menu-btn span {
    background: #000; /* Couleur lorsque l'on scroll */
}

/* Lorsque le menu est ouvert */
.mobile-menu-btn.active span {
    background: #333; /* Couleur lorsque le menu est fermé (croix) */
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0; /* Masquer la barre du milieu */
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block; /* Afficher uniquement sur les écrans de moins de 768px */
    }
    
    .logo {
        opacity: 1;
        visibility: visible;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none; /* Masquer sur les écrans de 769px et plus */
    }
}

@media (max-width: 980px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: linear-gradient(145deg, rgba(255, 248, 243, 0.95) 0%, rgba(255, 228, 186, 0.95) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--primary-color);
        z-index: 1000;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    /* Style spécifique pour les liens dans le menu mobile */
    .nav-container.active .nav-links a {
        color: #333 !important;
        border-radius: 8px;
        transition: background-color 0.3s ease, transform 0.3s ease;
        font-size: 1.2rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-container.active .nav-links a:hover {
        background-color: rgba(255, 183, 71, 0.3);
        transform: translateX(5px);
    }

    /* Style spécifique pour le bouton cta dans le menu mobile */
    .nav-links li .cta-button {
        margin-top: 1rem;
        padding: 1rem 2rem;
        border-radius: 30px;
        font-weight: 600;
        border: 2px solid var(--primary-color);
        background: var(--primary-color);
        color: #FFF;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav-links li .cta-button:hover {
        background: transparent;
        color: var(--primary-color);
    }

    /* Animation du bouton hamburger */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .overlay-feature {
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        z-index: 1; /* Ajout d'un z-index de base */
    }

    .overlay-feature:hover {
        transform: translateX(5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        z-index: 100; /* Augmentation du z-index au hover pour que le tooltip soit au-dessus */
    }

    .overlay-feature i {
        font-size: 28px;
        color: var(--primary-color);
        margin: 0;
        padding: 15px;
        background: var(--light-orange);
        border-radius: 10px;
        min-width: 58px;
        text-align: center;
    }

    .overlay-feature p {
        margin: 0;
        font-size: var(--font-size-md);
        color: #333;
        flex: 1;
    }

    .overlay-feature::before {
        width: 250px;
        top: 50%;
        left: calc(100% + 15px);
        transform: translateY(-50%);
        z-index: 101; /* Z-index plus élevé pour le tooltip */
        white-space: normal;
        width: auto;
        min-width: 200px;
        max-width: 300px;
    }

    .overlay-feature:hover::before {
        transform: translateY(-50%);
    }
}

/* Animation d'entrée des liens */
@media (max-width: 980px) {
    .nav-container.active .nav-links li {
        animation: slideIn 0.4s ease forwards;
        opacity: 0;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(100px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-container.active .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-container.active .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-container.active .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-container.active .nav-links li:nth-child(4) { animation-delay: 0.4s; }
    .nav-container.active .nav-links li:nth-child(5) { animation-delay: 0.5s; }
    .nav-container.active .nav-links li:nth-child(6) { animation-delay: 0.6s; }
}

@media (max-width: 480px) {
    .overlay-features {
        padding: 10px;
    }

    .overlay-feature {
        padding: 15px;
        gap: 15px;
    }

    .overlay-feature i {
        font-size: 24px;
        padding: 12px;
        min-width: 48px;
    }

    .overlay-feature p {
        font-size: var(--font-size-sm);
    }

    .overlay-feature::before {
        width: 200px;
        left: 50%;
        top: calc(100% + 10px);
        transform: translateX(-50%);
    }

    .overlay-feature:hover::before {
        transform: translateX(-50%) translateY(0);
    }
}

/* Hero Section */
.hero {
    background-image: url('/images/image-fond-header-webp.webp');
    background-size: auto;
    background-position: center;
    height: 100vh;
    position: relative;
    color: white;
    text-align: center;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 980px) {
    .hero {
        height: auto;
        padding: 0rem;
    }
}

/* Media query pour les écrans de moins de 800px de hauteur */
@media (max-height: 700px) {
    .hero {
        height: auto;
        min-height: 100vh;
        /* padding: 2rem; */
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    max-width: 1200px;
    z-index: 2;
    font-size: var(--font-size-4xl);
}

@media screen and (max-width: 980px) {
    .hero-content {
        margin: 120px 25px 120px 25px;
    }
}

.hero h1 {
    font-size: var(--font-size-5xl);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Dancing Script', cursive;
    font-style: normal;
}

.hero h2 {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    max-width: 100%;
    line-height: 1.7;
    opacity: 0.9;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Feature Icons */
.feature-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0 4rem;
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

/* Responsive pour les tablettes */
@media (max-width: 768px) {
    .feature-icons {
        flex-direction: column; /* Afficher les icônes en colonne */
        align-items: center; /* Centrer les icônes horizontalement */
        gap: 1.5rem; /* Réduire l'espacement entre les icônes */
        padding: 0 2rem; /* Ajuster le padding */
        margin-top: -30px; /* Ajuster la marge supérieure */
    }
}

/* Responsive pour les mobiles */
@media (max-width: 480px) {
    .feature-icons {
        gap: 1rem; /* Réduire encore plus l'espacement */
        padding: 0 1rem; /* Ajuster le padding */
        margin-top: -20px; /* Ajuster la marge supérieure */
    }
}

.feature-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    flex: 1;
    max-width: 400px;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    position: relative;
}

.feature-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffb747;
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    font-size: var(--font-size-sm);
    white-space: normal;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 600px; /* Augmenter légèrement la largeur maximale */
    word-wrap: break-word;
    box-sizing: border-box;
    width: 600px;
}

@media (max-width: 2600px) {
    .feature-item::before {
        width: auto;
    }
}

.feature-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.feature-item:hover::before::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover:hover::before::after {
    opacity: 1;
}

.feature-item:hover::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: #ffb747;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover:hover::before,
.feature-item:hover:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.feature-item i {
    font-size: 2rem;
    color: #ffb747;
    margin-bottom: 0.8rem;
}

.feature-item span {
    display: block;
    color: #333;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Travel Packages */
.nos-voyages {
    padding: 4rem 2rem;
    max-width: 1680px;
    margin: 0 auto;
    margin-top: 1rem;
}

.nos-voyages p {
    text-align: center;
    color: #555;
    font-size: var(--font-size-md);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}


.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Package Cards */
.package-card {
    background: white;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .package-card {
        padding-bottom: 160px; /* Réduit le padding bottom sur les petits écrans */
    }
}

.package-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.package-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    text-align: left;
}

.rating {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.star {
    font-size: 1.2rem;
}

.package-content h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.6rem;
    color: var(--text-color);
    font-weight: 600;
}

.package-description {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.package-description .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
}

.package-description .read-more:hover {
    text-decoration: underline;
}

.package-description .full-text {
    /* Assure que le texte complet s'affiche correctement */
    display: none; /* Sera géré par le JS */
}

.package-description .truncated-text {
     /* Assure que le texte tronqué s'affiche correctement */
    display: inline; /* Sera géré par le JS */
}

.package-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    min-width: 0;
}

.package-details > div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
    flex: 1 1 calc(50% - 0.6rem);
    min-width: 140px; /* Taille minimum pour éviter l'écrasement */
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
}

.package-details i {
    color: #4a90e2;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    padding: 0.8rem;
    font-size: 1rem;
}

.period-selector {
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(100%); /* Ajustement pour tenir compte de l'icône */
    text-overflow: ellipsis;
    padding-right: 0px; /* Espace pour la flèche du select */
}

.budget-range {
    color: #f1c40f;
    font-weight: 600;
}

.capacity-info {
    color: #666;
}

.package-details > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
    border-color: #4a90e2;
}

.destination-info i {
    color: #ff6b2c;
    background: rgba(255, 107, 44, 0.1);
}

.period-info i {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.capacity-info i {
    color: #9b59b6;
    background: rgba(155, 89, 182, 0.1);
}

.budget-range i {
    color: #f1c40f;
    background: rgba(241, 196, 15, 0.1);
}

.budget-range span {
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 2rem);
}

.capacity-info span {
    color: #666;
    font-weight: 500;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .package-details {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.8rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .package-details > div {
        padding: 0.6rem;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 120px;
    }

    .package-details i {
        padding: 0.6rem;
        font-size: 0.9rem;
        padding: 0.4rem;
    }
}

@media (max-width: 992px) {
    .package-details > div {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 130px;
    }

    .period-selector {
        font-size: 0.8rem;
    }
}

@media (max-width: 1200px) {
    .package-details {
        gap: 0.8rem;
    }

    .package-details > div {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .package-details > div {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .period-selector {
        width: calc(100% - 1.5rem);
        font-size: 0.9rem;
    }

    .budget-range span {
        max-width: 100%;
    }
}

/* Animation d'apparition */
.package-details > div {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation séquentielle pour chaque élément */
.package-details > div:nth-child(1) { animation-delay: 0.1s; }
.package-details > div:nth-child(2) { animation-delay: 0.2s; }
.package-details > div:nth-child(3) { animation-delay: 0.3s; }
.package-details > div:nth-child(4) { animation-delay: 0.4s; }

.per-person {
    font-size: 0.9rem; /* Ajustez la taille de la police si nécessaire */
    color: #666; /* Couleur grise pour le texte */
    margin-left: 5px; /* Espacement à gauche */
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-orange);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.price-container .buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.amount {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1;
}

.currency {
    font-size: 1em;
    color: #777;
    margin-left: 0.2em;
}

.book-button {
    background-color: var(--primary-color);
    color: white;
    padding: 9px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    animation: pulse 2s infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.book-button:hover {
    background-color: var(--secondary-color);
    animation: none;
}

/* Définition de l'animation pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Map Section */
.map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1680px;
    margin: 0 auto;
    align-items: center;
}

.map-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.thailand-map img {
    width: 100%;
    max-width: 600px;
}

/* Swiper */
.swiper-container {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
    transition: transform 0.3s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

/* Styles pour les flèches de navigation */

/* Styles pour la pagination */
.swiper-pagination {
    bottom: 10px;
}

.swiper-pagination-bullet {
    background: #ffb747;
    opacity: 0.7;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--light-orange);
    color: var(--footer-text);
    padding: 40px 0;
}

.footer-content {
    max-width: 1680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    color: var(--footer-heading);
    font-size: var(--font-size-lg);
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--footer-link-hover);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.newsletter-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--secondary-color);
}

.newsletter-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.newsletter-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods img {
    max-width: 200px;
    height: auto;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: var(--light-orange);
    color: #555;
    border-top: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cards-grid,
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid,
    .packages-grid,
    .map-section {
        grid-template-columns: 1fr;
    }

    .feature-item {
        width: 80%;
        max-width: 400px;

    }

    .price-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .price {
        align-items: center;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .amount {
        font-size: 1.8em;
    }

    .currency {
        font-size: 0.9em;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.hero-content p {
    text-transform: none;
    font-size: var(--font-size-lg);
    line-height: 1.9em;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
    z-index: 10 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    background-color: var(--primary-color) !important;
    opacity: 0 !important;
}

.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
    opacity: 0.8 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1) !important;
    background-color: var(--secondary-color) !important;
    opacity: 1 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold !important;
    text-shadow: none !important;
}

.swiper-button-next {
    right: 0px !important;
}

.swiper-button-prev {
    left: 0px !important;
}

.package-description {
    text-align: left !important;
    font-size: var(--font-size-md);
    line-height: 1.4;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.packages-grid .package-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.packages-grid .package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer Features */
.footer-features {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-features.dark {
    background-color: #FF4E00;
}

.footer-features.light {
    background-color: #ffb747;
}

.footer-features .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 10px 20px;
}

.footer-features .feature-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-features .feature-item span {
    font-size: 14px;
    font-weight: 500;
}

.footer-features.light .feature-item a {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.footer-features.light .feature-item a:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-features {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-features .feature-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .footer-features .feature-item {
        width: 100%;
    }
}

/* Styles pour les liens dans le footer */
.footer a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--footer-link-hover);
}

.footer-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
}

.banner-scroll {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: none;
    will-change: transform;
}

.banner-text {
    padding: 0 50px;
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

/* Ajout d'un padding au footer pour éviter que le contenu soit caché par le banner */
footer {
    padding-bottom: 60px;
}

/* Blocs superposés */
.overlay-block {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Style du bloc gauche */
.left-overlay {
    left: 5%;
    background: none;
    padding: 0;
    width: 45%;
    max-width: 600px;
}

.small-title {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: inline-block;
}

.left-overlay h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.left-overlay p {
    font-size: var(--font-size-md);
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.5;
}

.overlay-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.overlay-button:hover {
    background: var(--secondary-color);
}

/* Style du bloc droit */
.right-overlay {
    right: 5%;
    width: 40%;
    max-width: 600px;
    background: rgba(255, 248, 243, 0.95);
    padding: 25px;
    border-radius: 12px;
}

.right-overlay h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.overlay-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.overlay-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.overlay-feature i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.overlay-feature p {
    font-size: var(--font-size-sm);
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Tooltip pour les overlay-features */
.overlay-feature::before {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #ffb747;
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    font-size: var(--font-size-sm);
    white-space: normal;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 600px; /* Réduire la largeur maximale */
    word-wrap: break-word;
    box-sizing: border-box;
    width: 300px;
}

@media (max-width: 2600px) {
    .overlay-feature::before {
        width: auto;
    }
}

.overlay-feature:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.overlay-feature:hover::before::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-feature:hover:hover::before::after {
    opacity: 1;
}

.overlay-feature:hover::after {
    content: '';
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: #ffb747;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.overlay-feature:hover:hover::before,
.overlay-feature:hover:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Media Queries pour la responsivité */
@media (max-width: 1200px) {
    .left-overlay {
        width: 45%;
        left: 3%;
    }

    .right-overlay {
        width: 40%;
        right: 3%;
    }

    .left-overlay h2 {
        font-size: var(--font-size-xl);
    }
}

/* Section "Découvrez la Thaïlande" */
.nos-themes-voyages {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.nos-themes-voyages .section-container {
    max-width: 1680px;
    margin: 0 auto;
}

.nos-themes-voyages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/fond-thailande-illustration-page-2-sans-fond.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.nos-themes-voyages .section-title {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.nos-themes-voyages h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.nos-themes-voyages h3 {
    color: #777;
    font-size: var(--font-size-lg);
    margin-bottom: 15px;
    font-weight: 500;
}

.nos-themes-voyages p {
    color: #555;
    font-size: var(--font-size-md);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* Grille de destinations et d'activités */
.destinations-grid,
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Carte de destination et d'activité */
.destination-card,
.activity-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.destination-card:hover,
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.destination-card img,
.activity-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.destination-info,
.activity-info {
    padding: 30px;
    text-align: left;
    position: relative;
    z-index: 2;
    color: #333;
}

.destination-info h4,
.activity-info h4 {
    color: #333;
    font-size: var(--font-size-lg);
    margin-bottom: 12px;
    font-weight: 600;
}

.destination-info p,
.activity-info p {
    color: #666;
    font-size: var(--font-size-md);
    line-height: 1.6;
}

/* Formes géométriques */
.nos-themes-voyages .shape-1 {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    background-color: rgba(255, 107, 44, 0.1);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.nos-themes-voyages .shape-2 {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 122, 53, 0.1);
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .destinations-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .nos-themes-voyages h2 {
        font-size: 2rem;
    }

    .nos-themes-voyages p {
        font-size: var(--font-size-sm);
    }
}

.custom-style-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.package-card.custom-style {
    transition: background-color 0.3s ease;
}

.custom-package-card {
    background: white;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
    max-width: 500px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--primary-color);
}

/* Carte de luxe spécialisée - Style unifié avec les autres cartes */
.luxury-card {
    border: 3px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.luxury-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    font-weight: 800;
    text-shadow: none;
    animation: luxuryGlow 2s ease-in-out infinite alternate;
}

@keyframes luxuryGlow {
    from { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

/* Styles spécifiques pour la carte haut de gamme avec icônes dorées */
.luxury-card .package-features i {
    color: #ffd700;
}

.luxury-card .custom-book-button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    font-weight: 700;
}

.luxury-card .custom-book-button:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Responsive pour les cartes personnalisées */
@media (max-width: 768px) {
    .custom-package-card {
        max-width: none;
    }
}

.promo-badge {
    position: absolute;
    top: 2.3rem;
    right: -4rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 4rem;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: var(--font-size-sm);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.custom-package-content {
    padding: 1.2rem;
    margin-top: 2.5rem;
}

.custom-package-title {
    font-size: var(--font-size-xl);
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
}

.custom-package-description {
    font-size: var(--font-size-md);
    color: #666;
    margin-bottom: 1.5rem;
}

.custom-book-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 2rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 44, 0.3);
}

.custom-book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 44, 0.4);
    background: var(--secondary-color);
    animation: none;
}

/* Styles de base pour le séparateur */
.separator {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    z-index: 1;
}

/* Styles mobile et tablette pour le séparateur */
@media (max-width: 980px) {
    .separator {
        height: auto;
        padding: 40px 0;
    }

    .separator-content {
        flex-direction: column;
        padding: 20px;
        height: auto;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .left-overlay,
    .right-overlay {
        position: relative;
        width: 90%;
        max-width: 600px;
        margin: 20px auto;
        padding: 30px;
        transform: none;
        left: auto;
        right: auto;
        top: auto;
        background: rgba(255, 248, 243, 0.95);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .overlay-block {
        position: relative;
        transform: none;
        top: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .overlay-features {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .overlay-feature {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 15px;
        width: 100%;
    }

    .overlay-feature i {
        margin-bottom: 0;
    }

    .left-overlay h2,
    .right-overlay h2 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .left-overlay p {
        text-align: center;
        margin-bottom: 2rem;
        color: #333;
    }
}

@media (max-width: 768px) {
    .left-overlay,
    .right-overlay {
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin: 10px 0;
        background: rgba(255, 248, 243, 0.95);
        transform: none;
    }

    .left-overlay h2,
    .right-overlay h2 {
        font-size: 1.8rem;
    }

    .left-overlay p,
    .right-overlay p {
        text-align: center;
        color: #333;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
    }

    .nav-links {
        width: 100%;
        padding: 0;
    }
}

.separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--background-color) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.separator img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.separator-content {
    position: relative;
    max-width: 1680px;
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.separator-no-gradient {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 980px) {
    .separator-no-gradient {
        height: auto;
        padding: 2rem;
    }
}

.separator-no-gradient img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.separator-no-gradient .separator-content {
    position: relative;
    max-width: 1680px;
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    z-index: 3;
}

.price-highlight {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--light-orange);
    border-radius: 0.8rem;
}

.price-from {
    display: block;
    color: #666;
    font-size: var(--font-size-sm);
    margin-bottom: 0.3rem;
}

.price-amount {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.price-duration {
    color: #666;
    font-size: var(--font-size-md);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.package-features li {
    margin: 0.8rem 0;
    color: #444;
    font-size: var(--font-size-md);
}

.package-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.cta-container {
    margin-top: 2rem;
}

.spots-left {
    display: block;
    margin-top: 1rem;
    color: #e74c3c;
    font-size: var(--font-size-sm);
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Styles pour les modales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Styles pour les popups de contenu (CGV, Mentions Légales, etc.) */
.modal-content {
    max-width: 800px;
    width: 90%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: #555;
    position: relative;
    z-index: 1;
    padding: 2rem;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/fond-thailande-illustration-page-2-sans-fond.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
    border-radius: 8px;
}

.modal-content h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.modal-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.modal-content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.modal-content p {
    margin-bottom: 1.2rem;
    color: #555;
}

.modal-content ul {
    margin-bottom: 1.2rem;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 0.5rem;
}

.modal-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-content a:hover {
    color: white;
}

/* Styles pour le bouton de fermeture des modales */
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-close:hover {
    color: #333;
}

/* Styles pour le formulaire de contact */
.modal-content .contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.modal-content .contact-form::before {
    display: none;
}

.modal-content .contact-form h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-content .contact-form h2::after {
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.modal-content .contact-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-content .contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.modal-content .contact-form input[type="text"],
.modal-content .contact-form input[type="email"],
.modal-content .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: var(--font-size-md);
    color: #555;
    box-sizing: border-box;
}

.modal-content .contact-form textarea {
    resize: vertical;
}

.modal-content .contact-form input[type="text"]:focus,
.modal-content .contact-form input[type="email"]:focus,
.modal-content .contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.modal-content .contact-form button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.modal-content .contact-form button:hover {
    background: var(--secondary-color);
}

/* Responsive pour les pages de contenu */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
    }

    .modal-content h2 {
        font-size: var(--font-size-xl);
    }

    .modal-content .contact-form {
        padding: 0;
    }

    .modal-content .contact-form h2 {
        font-size: var(--font-size-xl);
    }
}

/* Styles pour les onglets dans les modales */
.modal-tabs {
    display: flex;
    border-bottom: 2px solid var(--primary-color); /* Ligne de séparation plus marquée */
    margin-bottom: 20px; /* Espacement en bas */
}

.tab-button {
    padding: 12px 20px; /* Augmenter le padding pour un meilleur confort */
    border: none;
    background-color: transparent; /* Fond transparent par défaut */
    cursor: pointer;
    font-size: var(--font-size-md); /* Utiliser la taille de police définie */
    color: var(--text-color); /* Couleur de texte par défaut */
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition douce */
    border-bottom: 2px solid transparent; /* Bordure inférieure par défaut */
    margin-right: 10px; /* Espacement entre les onglets */
    border-radius: 5px 5px 0px 0px; /* Coins arrondis */
}

.tab-button.active {
    background-color: var(--primary-color); /* Fond coloré pour l'onglet actif */
    color: white; /* Couleur de texte blanche pour l'onglet actif */
    border-bottom: 2px solid var(--secondary-color); /* Bordure inférieure colorée pour l'onglet actif */
}

.tab-content {
    display: none; /* Masquer le contenu par défaut */
    padding: 15px; /* Espacement interne */
    background-color: #f9f9f9; /* Fond léger pour le contenu */
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

.tab-content.active {
    display: block; /* Afficher le contenu actif */
}

/* Overlay pour le menu mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}