/* Variables CSS pour les couleurs */
:root {
  --couleur-primaire-foncee: #45261d;
  --couleur-accent-marron: #8F543E;
  --couleur-texte-clair: #CE7650;
  --couleur-texte-sombre: #3B260E;
  --couleur-neutre-grise: #AFA099;
}

/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--couleur-texte-sombre);
    background-color: var(--couleur-fond);
}
 /* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animation sur le défilement */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.8rem;
}

/* Typographie */
.revalia-regular {
    font-family: "Revalia", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.montserrat-regular {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Header */
header {
    background-color: var(--couleur-primaire-foncee);
    color: white;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    left: 0px;
    right: 0px;
    background-color: #45261d;
}

.brand-logo img {
    width: 100px;
    height: auto;
    margin-left: 10px;
}

/* Liens de navigation */
.nav-links {
    list-style: none;
    margin: 0 20px;
    padding: 0;
    display: flex;
    font-size: 1.2em;
    gap: 15px;
    transition: transform 0.3s ease-in-out;
}

.nav-links li {
    margin-bottom: 0;
}

.nav-links a {
    font-family: "Revalia", sans-serif;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--couleur-texte-clair);
}
li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}
li:before {
    content: "•";
    color: #f20089;
    font-weight: bold;
    position: absolute;
    left: 0;
}
/* Menu Hamburger */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Media Queries pour le menu hamburger */
@media (max-width: 999px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--couleur-primaire-foncee);
        position: absolute;
        top: 70px; /* Ajustez selon la hauteur réelle de .navbar */
        right: 0;
        text-align: center;
        padding: 20px 0;
        font-size: 1.4em;
        z-index: 999;
        transform: translateX(100%);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger-menu {
        display: block;
    }

    .brand-logo img {
        width: 120px;
    }
}

@media (max-width: 799px) {
    .nav-links {
        width: 35%;
        margin: 0;
        top: 70px;
        font-size: 1.2em;
    }

    .nav-links.active {
        display: flex;
        padding: 20px 0;
        MARGIN-TOP: -6%;
    }

    .brand-logo img {
        width: 100px;
    }
     li {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}
picture {
  display: block;
  width: 100%;
}

picture img {
  width: 100%;
  height: auto;
  display: block;
}
 
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Header avec image de fond */
        .article-header {
            height: 100vh;
            min-height: 500px;
            background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('plage-sunset-cap-skirring-.jpg') no-repeat center center/cover;
            color: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            position: relative;
            border-radius: 0 0 20px 20px;
            margin-bottom: 30px;
        }

        .article-header h1 {
            font-size: clamp(1.8rem, 5vw, 3.5rem);
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            font-weight: 700;
            max-width: 900px;
            line-height: 1.2;
        }

        .article-header p {
            font-size: clamp(1rem, 3vw, 1.3rem);
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.9;
            line-height: 1.5;
        }

        /* Introduction */
        .intro-section {
            padding: clamp(20px, 5vw, 40px);
            border-radius: 15px;
            margin-bottom: 30px;
            text-align: center;
            background: #ffffff;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border-left: 5px solid #d4a56a;
        }

        .intro-section p {
            font-size: clamp(1rem, 2.5vw, 1.1rem);
            color: #4a4a4a;
            max-width: 700px;
            margin: 0 auto;
        }

        .ocean-wave {
            height: 4px;
            background: linear-gradient(45deg, #2c5aa0, #d4a56a);
            margin: 20px auto;
            border-radius: 2px;
            width: min(100px, 20vw);
        }

        /* Grille d'activités */
        .activities-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: clamp(20px, 4vw, 30px);
            padding: 20px 0 40px;
        }

        .activity-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            min-height: 400px;
        }

        .activity-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .activity-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .activity-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease;
        }

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

        .activity-content {
            flex: 1;
            padding: clamp(20px, 4vw, 25px);
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .activity-number {
            position: absolute;
            top: -25px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: #e76f51;
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            box-shadow: 0 5px 15px rgba(231, 111, 81, 0.4);
            z-index: 2;
        }

        .activity-title {
            font-size: clamp(1.1rem, 3vw, 1.4rem);
            color: #2b2d42;
            margin-bottom: 15px;
            font-weight: 600;
            padding-right: 40px;
            line-height: 1.3;
        }

        .activity-description {
            color: #4a4a4a;
            margin-bottom: 15px;
            line-height: 1.7;
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            flex-grow: 1;
        }

        .activity-tip {
            background-color: rgba(212, 165, 106, 0.1);
            padding: clamp(12px, 3vw, 15px);
            border-radius: 8px;
            border-left: 4px solid #d4a56a;
            margin-top: auto;
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
        }

        .activity-tip strong {
            color: #e76f51;
            display: block;
            margin-bottom: 5px;
        }

        .highlight {
            background-color: rgba(212, 165, 106, 0.2);
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 500;
        }

        /* Media queries pour un contrôle plus fin */
        
        /* Très petits écrans (320px-480px) */
        @media (max-width: 480px) {
            .container {
                padding: 0 10px;
            }

            .article-header {
                height: 70vh;
                min-height: 400px;
                margin-bottom: 20px;
                border-radius: 0 0 15px 15px;
            }

            .intro-section {
                padding: 20px 15px;
                margin-bottom: 20px;
                border-radius: 10px;
            }

            .activities-container {
                gap: 15px;
                padding: 15px 0 30px;
            }

            .activity-card {
                min-height: 350px;
            }

            .activity-image {
                height: 150px;
            }

            .activity-content {
                padding: 20px 15px;
            }

            .activity-number {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
                right: 15px;
                top: -20px;
            }

            .activity-title {
                padding-right: 30px;
            }
        }

        /* Petits écrans (481px-768px) */
        @media (min-width: 481px) and (max-width: 768px) {
            .article-header {
                height: 80vh;
                min-height: 500px;
            }

            .activities-container {
                gap: 20px;
            }

            .activity-image {
                height: 180px;
            }

        }

        /* Tablettes (769px-1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {
            .activities-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }

            .activity-card {
                min-height: 450px;
            }

            .activity-image {
                height: 220px;
            }
        }

        /* Écrans moyens et grands (1025px+) */
        @media (min-width: 1025px) {
            .activities-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }

            .activity-card {
                min-height: 500px;
            }

            .activity-image {
                height: 250px;
            }
        }

        /* Très grands écrans (1440px+) */
        @media (min-width: 1440px) {
            .container {
                max-width: 1400px;
            }
        }

        /* Optimisations pour les écrans tactiles */
        @media (hover: none) and (pointer: coarse) {
            .activity-card:hover {
                transform: none;
            }

            .activity-card:active {
                transform: scale(0.98);
            }

        }

        /* Mode paysage sur mobile */
        @media (max-height: 500px) and (orientation: landscape) {
            .article-header {
                height: 100vh;
                min-height: 400px;
            }

            .article-header h1 {
                font-size: clamp(1.5rem, 4vw, 2.5rem);
            }

            .article-header p {
                font-size: clamp(0.9rem, 2.5vw, 1.1rem);
            }
        }

        /* Accessibilité - Réduction des animations */
        @media (prefers-reduced-motion: reduce) {
            .activity-card {
                transition: none;
            }

            .activity-image img {
                transition: none;
            }

            .activity-card:hover {
                transform: none;
            }

            .activity-card:hover .activity-image img {
                transform: none;
            }
        }

        /* Préservation des couleurs originales en mode sombre */
        @media (prefers-color-scheme: dark) {
            /* Maintien des couleurs d'origine pour préserver l'identité visuelle */
        }
/* Footer */
  /* Styles généraux du footer */
.footer {
    background-color: white; /* Couleur de fond verte foncée */
    color: #45261d;
    font-family: "Revalia"; 
}
.footerr { 
            text-align: center; 
            padding: 2rem; 
            background-color: #020c1b; 
            color: #8892b0; 
        } 

/* Section supérieure du footer (localisation, réservations, plateformes) */
.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap; /* Permet aux sections de passer à la ligne sur de petits écrans */
    margin-bottom: 0px; /* Espace entre la section du haut et la section du bas (logo/nom) */
}

.footer-section {
    margin-bottom: 20px; /* Espace sous chaque section sur petits écrans */
    text-align: center; /* Alignement du texte à gauche par défaut */
}

.footer-section h3 {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 9px;
    font-size: 1.5em;
}

.footer-section p {
     font-family: "Montserrat";
      font-size: 1.1em;
      color: #555;
}

.footersectionblog{
    margin-bottom: 20px; /* Espace sous chaque section sur petits écrans */
    text-align: justify; /* Alignement du texte à gauche par défaut */
}

.footersectionblog h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.footersectionblog p {
    text-align: center;
    color: white;
    margin: 0;
} 
.footersectionblog a{
     font-family: "Montserrat";
      font-size: 1.1em;
     color: #CE7650;
}

.footer-section a {
    color: inherit;
    text-decoration: none;
}
/* Styles pour les icônes des plateformes */
.platform-icons {
    display: flex;
    align-items: center;
}

.platform-icons img {
    height: 40px; /* Taille des icônes */
    margin-right: 20px; /* Espace entre les icônes */

}

/* Section inférieure du footer (logo) */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permet au logo et au texte de passer à la ligne si nécessaire */
}

.footer-logo {
    width: 300px;
    height: auto; /* Hauteur du logo, ajustez selon vos besoins */
    margin-right: 15px; /* Espace entre le logo et le texte "BUHANOR" */
}


/* Media queries pour la responsivité (facultatif mais recommandé) */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column; /* Empile les sections verticalement sur les petits écrans */
        align-items: center; /* Centre les sections empilées */
    }

    .footer-section {
        width: 100%; /* Chaque section prend toute la largeur */
        text-align: center; /* Centre le texte des sections */
    }

    .platform-icons {
        justify-content: center; /* Centre les icônes sur petits écrans */

    }

    .footer-logo {
        margin-right: 0; /* Pas de marge à droite quand empilé */
        margin-bottom: 10px; /* Marge sous le logo quand empilé */
    }
 }