﻿/* =========================================================
   RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    font-family: 'Inter', Arial, sans-serif;
    background: #f7f2f8;
    color: #2a2a2a;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    padding: 1rem;
    border-bottom: 2px solid #eeeeee;
}

.logo img {
    max-height: 56px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.desktop-nav ul li a {
    text-transform: uppercase;
    font-weight: bold;
    color: #2a2a2a;
}

.desktop-nav ul li a:hover {
    color: #790078;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    transition: right 0.3s ease;
    padding: 2rem;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav ul li a {
    font-size: 1.2rem;
    color: #2a2a2a;
}

.mobile-nav ul li a:hover {
    color: #790078;
}

/* Burger Menu */
#burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

#burger-menu span {
    background-color: #0A0F2B;
    height: 4px;
    border-radius: 2px;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1023px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    body[data-menu-open="true"] .mobile-nav {
        right: 0;
    }
}

/* =========================================================
   CARDS POUR LES VOYAGES
   ========================================================= */
.voyages {
    padding: 3rem 1rem;
    text-align: center;
}

.voyages h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.voyages-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.voyage-card {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.voyage-card:hover {
    transform: translateY(-10px);
}

.voyage-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.voyage-card h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #790078;
}

.voyage-card p {
    color: #666;
    margin: 0.5rem 0;
}

.voyage-card p:last-child {
    font-weight: bold;
    color: #790078;
}