/* 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;
    --couleur-fond: #f8f5f3;
    --couleur-carte: #ffffff;
    --ombre-legere: 0 4px 12px rgba(69, 38, 29, 0.08);
    --ombre-portee: 0 8px 24px rgba(69, 38, 29, 0.12);
}

/* 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);
}

/* 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;
    }
}

/* Section Hero */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url('bateau3.jpg');
    height: 400px;
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 2.7rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.dots {
    margin-bottom: 20px;
}

.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    margin: 0 4px;
}

/* Navigation rapide */
.quick-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.quick-nav-item {
    background-color: var(--couleur-carte);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--ombre-legere);
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--couleur-texte-sombre);
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 500;
}

.quick-nav-item i {
    margin-right: 0.5rem;
    color: var(--couleur-accent-marron);
}

.quick-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--ombre-portee);
}

/* Cartes de contenu */
.card {
    background-color: var(--couleur-carte);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--ombre-legere);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-portee);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--couleur-neutre-grise);
}

.card-icon {
    background-color: var(--couleur-primaire-foncee);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-title {
    color: var(--couleur-primaire-foncee);
    font-size: 1.5rem;
    line-height: 1.3;
}

/* Tableau responsive */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: var(--ombre-legere);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background-color: white;
}

th, td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px solid var(--couleur-neutre-grise);
    font-size: 0.9rem;
}

th {
    background-color: var(--couleur-primaire-foncee);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

td:first-child {
    text-align: left;
    font-weight: 500;
    background-color: rgba(143, 84, 62, 0.05);
}

tr:nth-child(even) {
    background-color: rgba(143, 84, 62, 0.02);
}

tr:hover {
    background-color: rgba(143, 84, 62, 0.08);
}

/* Version mobile avec cartes */
.mobile-pricing {
    display: none;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--ombre-legere);
    border-left: 4px solid var(--couleur-accent-marron);
}

.pricing-card h3 {
    color: var(--couleur-primaire-foncee);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
}

.price-label {
    font-weight: 500;
    color: var(--couleur-texte-sombre);
}

.price-value {
    font-weight: bold;
    color: var(--couleur-accent-marron);
}

/* Listes */
ul {
    list-style: none;
    margin: 1rem 0;
}

li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

li:before {
    content: "•";
    color: var(--couleur-texte-clair);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Conseils */
.conseil {
    background: linear-gradient(to right, rgba(206, 118, 80, 0.1) 0%, rgba(206, 118, 80, 0.05) 100%);
    border-left: 4px solid var(--couleur-texte-clair);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.conseil-title {
    display: flex;
    align-items: center;
    color: var(--couleur-texte-clair);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.conseil-title i {
    margin-right: 0.5rem;
}

/* 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é */
    }

    .card {
        padding: 1.5rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .card-icon {
        align-self: center;
    }

    .card-title {
        font-size: 1.3rem;
        text-align: center;
        align-self: center;
    }

    .table-responsive {
        display: none;
    }

    .mobile-pricing {
        display: block;
    }

    li {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .hero h1 {
        font-size: 1.3rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
        text-align: center;
    }

    .hero p {
        font-size: 1em;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .pricing-card {
        padding: 1rem;
    }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

/* Scroll indicator pour le tableau */
.scroll-hint {
    text-align: center;
    color: var(--couleur-accent-marron);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

@media (min-width: 769px) {
    .scroll-hint {
        display: none;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Barre de progression */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.progress-bar {
    height: 4px;
    background: var(--couleur-texte-clair);
    width: 0%;
}