body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    padding: 20px 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: Arial, sans-serif;
}

/* Styles pour mobile */
@media (max-width: 768px) {
    .sticky-header {
        height: 60px;
        background-color: black;
    }

    .header-content {
        justify-content: center;
        height: 100%;
    }

    .logo-link {
        margin: 0 auto;
    }
}

/* Comportement de scroll pour desktop uniquement */
@media (min-width: 769px) {
    .sticky-header.scrolled {
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .sticky-header.scrolled .logo-link,
    .sticky-header.scrolled .nav-button {
        color: black;
    }

    .sticky-header.scrolled .nav-button:hover {
        background-color: rgba(0, 0, 0, 0.1);
        border-color: black;
    }

    .sticky-header.scrolled .nav-button.active {
        color: #8f1600;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.nav-button {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

.nav-button.active {
    color: #8f1600;
    border-bottom: 2px solid #8f1600;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.hero-section {
    min-height: 100vh;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 0;
    padding-top: 100px; /* Pour éviter que le contenu soit caché par le header */
    box-sizing: border-box;
    position: relative;
}

/* Style spécifique pour la page d'accueil avec l'image terrasse */
body:not(.single-page) .hero-section {
    background-image: url('/images/terrasse_blur.png') !important;
}

/* Style spécifique pour la page cuisine */
main.section-cuisine .hero-section {
    background-image: url('/images/food_shade.png') !important;
}

/* Style spécifique pour la page bar */
main.section-bar .hero-section {
    background-image: url('/images/bar_shade.png') !important;
    position: relative;
}

/* Style spécifique pour la page événement */
main.section-evenement .hero-section {
    background-image: url('/images/scene.jpg') !important;
    position: relative;
}

main.section-evenement .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

main.section-evenement .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    font-family: 'Peralta', serif;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 100;
}

.hero-content h1,
.white-content h1,
.hero-content h2,
.white-content h2 {
    font-weight: 100;
}

.white-section-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
}

.white-section-left {
    flex: 1;
    min-width: 300px;
    font-family: 'Peralta', serif;
}

.white-section-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    font-family: 'Peralta', serif;
}

.white-section-right h2,
.white-section-right p {
    margin: 0;
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.white-section-single {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.cuisine-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

.scroll-down-arrow svg {
    transition: transform 0.3s ease;
}

.scroll-down-arrow:hover svg {
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive design pour mobile */
@media (max-width: 768px) {
    /* Police plus petite pour mobile */
    body, html {
        font-size: 1rem;
    }

    /* Menu mobile */
    .sticky-header {
        padding: 15px 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Hero section mobile */
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    /* Sections blanches mobile */
    .white-section-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .white-section-left,
    .white-section-right,
    .white-section-single {
        width: 100%;
        min-width: 0;
    }

    /* Images mobile */
    .map-image, .event-image, .cuisine-image {
        max-width: 90%;
        margin: 0 auto;
    }

    /* Flèche de scroll mobile */
    .scroll-down-arrow {
        bottom: 20px;
    }

    .scroll-down-arrow svg {
        width: 24px;
        height: 24px;
    }

    /* Logo mobile */
    .logo-image {
        height: 40px;
    }
}

/* Menu burger - masqué par défaut */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding-top: 15px;
    padding-left: 15px;
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
}

.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Menu mobile - masqué par défaut */
.mobile-nav {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px 0;
    z-index: 1000;
}

/* Positionnement du menu mobile sous le header */
@media (max-width: 768px) {
    .mobile-nav {
        top: 60px;
    }
}

.mobile-nav-button {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-button.active {
    color: #8f1600;
    border-bottom: 2px solid #8f1600;
}

/* Menu burger visible sur mobile */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .mobile-nav.active {
        display: flex;
    }

    /* Animation du burger lors de l'ouverture */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.white-content {
    font-family: 'Peralta', serif;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.white-section {
    min-height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-top: 0;
    padding-top: 100px; /* Pour éviter que le contenu soit caché par le header */
    box-sizing: border-box;
}

.white-content {
    max-width: 800px;
}