body, html {height: 100%}
body,h1,h2,h3,h4,h5,h6 {font-family: "Roboto", sans-serif}
body {color: #663300;}
.menu {display: none}

/* Style de base pour la bannière */
.bgimg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 55vh;
    min-height: 300px;
    position: relative;
}

/* Smartphones en portrait (iPhone 7: 375x667px) */
@media (max-width: 575px) {
    .bgimg {
        height: 30vh !important;
        min-height: 200px !important;
        max-height: 250px !important;
        background-position: center 40%;
    }
    
    .w3-display-title {
        width: 90%;
        text-align: center;
        padding: 0 10px;
    }
    
    .banner-title-mobile {
        font-size: 18px !important;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
        padding: 8px;
        line-height: 1.3;
    }
}

/* Smartphones en paysage et petites tablettes */
@media (min-width: 576px) and (max-width: 767px) {
    .bgimg {
        height: 35vh;
        min-height: 250px;
    }
}

/* Tablettes en portrait */
@media (min-width: 768px) and (max-width: 991px) {
    .bgimg {
        height: 40vh;
        min-height: 300px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .bgimg {
        height: 55vh;
        min-height: 400px;
    }
}

/* Titre - styles communs */
.w3-display-title {
    position: absolute;
    top: 10%;
    left: 20%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.banner-title-mobile {
    font-weight: bold;
}

.banner-title-mobile {
    font-weight: bold;
}

/* Lightbox CSS Pure */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox:target {
    display: block;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 0px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.clickable-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
