
/********************** wallpaper **********************/

#wallpaper {
    background: url(../../img/photos/boutique/boutique-bar-brasserie-artisanale-lille-nord.jpg) no-repeat center center;
    -webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 	
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;    
	background-attachment: fixed;
}

/* Safari iPhone / iPad et autres appareils tactiles */
@media (hover: none) and (pointer: coarse) {
    #wallpaper {
        background-attachment: scroll;
    }
}

/* Safari sur Mac (détection indicative) */
@supports (background: -webkit-named-image(i)) {
    #wallpaper {
        background-attachment: scroll;
    }
}

#wallpaper .content-b {
    vertical-align:bottom;
    text-align:right;

    text-shadow: 0 0 7px rgba(0,0,0, 0.5);
    
    padding-right: 35px;
    padding-bottom: 35px;
}

#wallpaper .content-b h2 {
    color: #f7f4e5;
    font-size: 48px;
    font-weight:bold;
    text-transform: uppercase;
    margin: 0;
}

#wallpaper .content-b p {
    color: #f7f4e5;
    font-size: 22px;
    font-weight:600;
    letter-spacing: 1px;
    margin-bottom:0;
}

/* smartphone */
@media only screen and ( max-width: 760px) { 
    #wallpaper .content-b {
        text-align:center;
        padding-right: 0;      
    }
}

/********************** taproom : présentation **********************/

#taproom, #taproom-medias, #taproom-infos {
    font-size: 11pt;
}

#taproom .btn {
    margin-top: 12px;
}

#taproom .btn.btn-primary {
    background: #b26558;
    border-color: #3e3d40;
    color: #f7f4e5;
}

#taproom .btn.btn-primary:hover,
#taproom .btn.btn-primary:focus {
    background: transparent;
    border-color: #b26558;
    color: #b26558;
}

/* Deux visuels d'introduction */
.taproom-photos-principales {
    margin-top: 25px;
}

.taproom-photos-principales a {
    display: block;
    overflow: hidden;
    border-radius: 5px;
}

.taproom-photos-principales img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.taproom-photos-principales a:hover img {
    transform: scale(1.05);
}

.taproom-reservations {
    margin-top: 22px;
    text-align: center;
}

.taproom-reservations .btn {
    display: inline-block;
    width: auto;
    max-width: 100%;
    white-space: normal;
    margin-bottom: 15px;
}

/********************** taproom : galerie et vidéo **********************/

.taproom-galerie {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 160px;
    grid-auto-flow: dense;
    gap: 10px;
    margin: 25px 0;
}

.taproom-galerie a {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
}

.taproom-galerie a:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.taproom-galerie img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.taproom-galerie a:hover img {
    transform: scale(1.05);
}

.taproom-video-bloc {
    margin-top: 35px;
}

.taproom-video-container {
    display: flex;
    justify-content: center;
    margin: 25px auto 0;
}

/* Vidéo verticale : ne pas déformer le contenu */
.taproom-video {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
}

/********************** taproom : informations pratiques **********************/

/* Reprise des icônes rondes de #services dans index.css */
#taproom-infos .service > i.fa {
    height: 100px;
    line-height: 100px;
    text-align: center;
    width: 100px;
    border-radius: 100%;
    color: #b26558;
    box-shadow: inset 0 0 0 1px #d7d7d7;
    -webkit-box-shadow: inset 0 0 0 1px #d7d7d7;
    position: relative;
    transition: all 0.5s;
}

#taproom-infos .service > i.fa:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    right: -10px;
    margin-top: -10px;
    border: 4px solid #fff;
    border-radius: 20px;
    background: #b26558;
}

#taproom-infos .service:hover > i.fa {
    background: linear-gradient(90deg, #b26558 0%, #af6d57 100%);
    color: #fff;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.8);
}

#taproom-infos .taproom-services {
    margin-top: 10px;
}

#taproom-infos .service h3 {
    margin-top: 0;
}

#taproom-infos .service p {
    line-height: 1.6;
}

#taproom-infos .taproom-infos-lien {
    display: inline-block;
    margin-top: 6px;
    color: #b26558;
    font-weight: bold;
    text-decoration: underline;
}

#taproom-infos .taproom-infos-lien:hover,
#taproom-infos .taproom-infos-lien:focus {
    color: #3e3d40;
}

@media (max-width: 991px) {
    .taproom-galerie {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 140px;
    }
}

@media (max-width: 767px) {
    .taproom-photos-principales img {
        height: 220px;
    }

    .taproom-photos-principales > div {
        margin-bottom: 25px;
    }

    .taproom-reservations {
        margin-top: 15px;
    }

    .taproom-galerie {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 15px;
    }

    .taproom-galerie a:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    .taproom-video {
        max-width: 280px;
    }

    #taproom-infos .service {
        margin-bottom: 30px;
    }
}

/* Correction Fancybox / Bootstrap */
#fancybox-wrap,
#fancybox-wrap * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
