/*
    Projet : Site web Les Voies des Gastlosen
    Fichier : style-acceuil.css
    Auteur : Antoine Schneider
    Date de création : 16 janvier 2026
    Dernière modification : 16 janvier 2026
    Description : Feuille de style pour la page d'accueil.
                  Gère l'affichage de la vidéo en fond,
                  la navigation, les zones interactives
                  et le footer avec sources.
    Compatibilité : Chrome, Firefox, Edge, Safari
*/

/* ============================================
   RESET ET BASE
   ============================================ */

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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.95),
        rgba(40, 40, 40, 0.95)
    );
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

nav img {
    width: 80px;
    height: auto;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

nav img:hover {
    transform: scale(1.05);
}

/* Liens de navigation */
nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

/* Soulignement animé */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        #ff6b35,
        #f7931e
    );
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover,
nav a.active {
    color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.1);
}

nav a:hover::after,
nav a.active::after {
    width: 80%;
}

/* ============================================
   SECTION HERO AVEC VIDÉO
   ============================================ */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 90px);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 107, 53, 0.5);
    white-space: nowrap;
    animation: titleAppear 1.5s ease-out;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: #e0e0e0;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BLOC DE TEXTE
   ============================================ */

.text-block {
    padding: 60px 40px;
    margin: 80px auto;
    max-width: 1000px;
    text-align: left;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
}

.text-block h2 {
    color: #ff6b35;
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.text-block p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* ============================================
   SECTION ZONES (CARTE INTERACTIVE)
   ============================================ */

.zones-section {
    width: 100%;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.8);
}

.zones-title {
    text-align: center;
    color: #ff6b35;
    font-size: 42px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.mountain-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mountain-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Marqueurs de zones */
.zone-marker {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zone-marker:hover {
    transform: scale(1.1);
    z-index: 10;
}

.marker-content {
    background: rgba(255, 107, 53, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border: 2px solid white;
    margin-bottom: 5px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: #ff6b35;
    border: 3px solid white;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
}

.marker-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Positionnement des zones A à G */
.zone-a { top: 40%; left: 15%; }
.zone-b { top: 50%; left: 30%; }
.zone-c { top: 40%; left: 40%; }
.zone-d { top: 45%; left: 70%; }
.zone-e { top: 45%; left: 90%; }
.zone-f { top: 50%; left: 60%; }
.zone-g { top: 45%; left: 80%; }

/* Animation au survol */
.zone-marker:hover .marker-content {
    background: rgba(247, 147, 30, 0.95);
    transform: translateY(-5px);
}

.zone-marker:hover .marker-dot {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 4px 16px 
                    rgba(255, 107, 53, 0.6);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer-text-block {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 60px 40px;
    margin: 0;
    border-top: 3px solid #ff6b35;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.footer-content {
    flex: 1;
    max-width: 800px;
}

.footer-image-container {
    flex: 0 0 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff6b35;
}

.footer-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-text-block h2 {
    color: #ff6b35;
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: left;
}

.footer-text-block p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

.footer-text-block a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-text-block a:hover {
    color: #f7931e;
    text-decoration: underline;
}

.source-declaration {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid #ff6b35;
    border-radius: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 20px;
        padding: 15px 20px;
    }

    nav a {
        font-size: 14px;
    }

    .zone-marker {
        font-size: 12px;
        padding: 6px 12px;
    }

    .footer-text-block {
        padding: 40px 20px;
        flex-direction: column;
    }

    .footer-image-container {
        flex: 0 0 250px;
        width: 100%;
        height: 250px;
    }

    .footer-text-block h2 {
        font-size: 24px;
    }

    .footer-text-block p {
        font-size: 14px;
    }

    .text-block {
        padding: 40px 20px;
        margin: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .zones-title {
        font-size: 28px;
    }

    .marker-content {
        font-size: 11px;
        padding: 6px 10px;
    }
}