/* Variables Thématiques */
:root {
    --primary-color: #4CAF50; /* Vert Sérénité */
    --secondary-color: #1A237E; /* Bleu Nuit Profond */
    --accent-color: #FFC107; /* Jaune Or */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --font-stack: 'Roboto', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* --- Typographie et Titres --- */
h2, h3 {
    color: var(--secondary-color);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 900;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: gray;
    margin-bottom: 40px;
}

.highlight {
    color: var(--primary-color);
}

/* --- Boutons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 128, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: none;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

/* Animation de pulsation (réutilisée) */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}
.pulse-animation {
    animation: pulse 2s infinite;
}

/* --- Header et Navigation --- */
.header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.nav-list {
    display: flex;
}

.nav-list li a {
    color: white;
    padding: 10px 15px;
    font-weight: 500;
    transition: color var(--transition-speed), background-color var(--transition-speed);
    border-radius: 5px;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Menu Hamburger (par défaut masqué sur desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    transition: color var(--transition-speed);
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* --- Section Hero (Accueil) --- */
.hero-index {
    /* Mise à jour de l'image de fond vers l'image locale valises.jpg */
    background: url('./assets/images/valises.jpg') center/cover no-repeat; 
    height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-index::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Overlay sombre */
}

.hero-content {
    color: white;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content .tagline {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: white;
}

/* Animation d'entrée du Hero */
.hero-index.reveal .hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
    animation-delay: 0.5s;
}
@keyframes fadeInSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Section Services Phares --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.4s;
    border-top: 5px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* --- Section Voyages List --- */
.voyages-list-section {
    background-color: var(--light-bg);
}

.voyage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.voyage-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.voyage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.voyage-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.voyage-card .card-content {
    padding: 25px;
}

.voyage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.features {
    margin: 15px 0;
}

.features span {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    font-weight: 600;
}

.features i {
    color: var(--primary-color);
    margin-right: 5px;
}

.cta-voyage {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

/* --- Section Événementiels --- */
.evenementiel-section {
    background-color: white;
}

.event-services-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 60px;
}

.event-service-box {
    flex: 1;
    text-align: center;
    padding: 30px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    transition: background-color 0.3s, border-color 0.3s;
}

.event-service-box:hover {
    background-color: var(--primary-color);
    color: white;
}

.event-service-box:hover h3,
.event-service-box:hover p {
    color: white;
}

.event-service-box:hover .event-icon {
    color: var(--accent-color);
    transform: rotate(5deg) scale(1.1);
}

.event-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.4s, color 0.3s;
}

.event-process {
    padding: 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 10px;
}

.event-process h3 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 25px;
}

.process-list {
    display: flex;
    justify-content: space-around;
    padding: 0;
    list-style: none;
    text-align: center;
}

.process-list li {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-list i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.process-list li:hover i {
    transform: translateY(-5px);
}

.cta-event {
    text-align: center;
    margin-top: 40px;
}

/* --- Section Contact (Accueil) --- */
.contact-section {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form-container input,
.contact-form-container select,
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-stack);
    transition: border-color 0.3s;
}

.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.contact-info {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.social-links a:hover {
    color: var(--primary-color);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
}

/* --- Footer --- */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--primary-color);
    margin: 0 5px;
}

.footer a:hover {
    color: var(--accent-color);
}


/* --- Animations de Révélation (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }


/* --- Media Queries (Responsive Design) --- */
@media (max-width: 900px) {
    /* Afficher le menu hamburger et masquer la navigation */
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 65px; /* Ajuster selon la hauteur du header */
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .nav.open {
        max-height: 300px; /* Taille suffisante pour afficher le menu */
    }

    .nav-list {
        flex-direction: column;
        padding: 10px 0;
        text-align: center;
    }

    .nav-list li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .services-grid, 
    .voyage-grid, 
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .event-services-grid {
        flex-direction: column;
    }
    
    .process-list {
        flex-direction: column;
        gap: 25px;
    }
    
    .voyage-card {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
    
    .contact-form-container, .contact-info {
        padding: 30px 20px;
    }
}