*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.hero-galerie{
    position:relative;
    width:100%;
    height:70vh;
    background:url("../images/hotel1.jpg") center center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-galerie .overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.60);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
}

.hero-content h1{
    font-size:65px;
    font-family:"Playfair Display",serif;
    margin-top:50px;
}

.hero-content p{
    width:70%;
    margin:auto;
    font-size:25px;
    line-height:1.8;
}

.gallery-section{
    width:90%;
    margin:90px auto;
}

.gallery-section h2{
    text-align:center;
    font-size:42px;
    color:#111;
    font-family:"Playfair Display",serif;
    margin-bottom:15px;
}

.gallery-section h2::after{
    content:"";
    width:180px;
    height:4px;
    background:#D4AF37;
    display:block;
    margin:15px auto;
    border-radius:10px;
}

.section-text{
    text-align:center;
    color:#555;
    font-size:18px;
    margin-bottom:45px;
    line-height:1.8;
}

.chambres-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:280px 280px 280px;
    gap:20px;
}

.chambres-grid .gallery-item:first-child{
    grid-column:1;
    grid-row:1 / 4;
}

.chambres-grid .gallery-item:first-child img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.chambres-grid .gallery-item:nth-child(2){
    grid-column:2;
    grid-row:1;
}

.chambres-grid .gallery-item:nth-child(3){
    grid-column:2;
    grid-row:2;
}

.chambres-grid .gallery-item:nth-child(4){
    grid-column:2;
    grid-row:3;
}

.chambres-grid .gallery-item:not(:first-child) img{
    width:100%;
    height:280px;
    object-fit:cover;
}


.gallery-grid-two{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.gallery-grid-two .gallery-item img{
    width:100%;
    height:350px;
    object-fit:cover;
}

.gallery-grid-one{
    display:grid;
    grid-template-columns:1fr;
}

.gallery-grid-one .gallery-item img{
    width:100%;
    height:500px;
    object-fit:cover;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:.5s;
    cursor:pointer;
}

.gallery-item:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.30);
}

.gallery-item img{
    transition:.7s;
    display:block;
    border-radius: 10px;
}

.gallery-item:hover img{
    transform:scale(1.12);
}
.overlay-image{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.5s;
}

.gallery-item:hover .overlay-image{
    opacity:1;
}

.overlay-image i{
    width:75px;
    height:75px;
    background:#D4AF37;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    margin-bottom:20px;
    transition:.5s;
}

.gallery-item:hover .overlay-image i{
    transform:rotate(360deg) scale(1.1);
}

.overlay-image h3{
    color:#fff;
    font-size:28px;
    font-family:"Playfair Display",serif;
    letter-spacing:1px;
    text-align:center;
}


@media (max-width: 1024px) {
    .hero-content h1{
        font-size: 50px;
    }
    .hero-content p{
        font-size: 20px;
        width: 85%;
    }
    .chambres-grid{
        grid-template-rows: 240px 240px 240px;
    }
}

@media (max-width: 900px) {
    .chambres-grid{
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .chambres-grid .gallery-item:first-child{
        grid-column: 1;
        grid-row: auto;
    }
    .chambres-grid .gallery-item:first-child img{
        height: 320px;
    }
    .chambres-grid .gallery-item:nth-child(2),
    .chambres-grid .gallery-item:nth-child(3),
    .chambres-grid .gallery-item:nth-child(4){
        grid-column: 1;
        grid-row: auto;
    }
    .chambres-grid .gallery-item:not(:first-child) img{
        height: 260px;
    }
    .gallery-grid-two{
        grid-template-columns: 1fr;
    }
    .gallery-grid-two .gallery-item img{
        height: 300px;
    }
    .gallery-grid-one .gallery-item img{
        height: 380px;
    }
}

@media (max-width: 768px) {
    .hero-galerie{
        height: 55vh;
    }
    .hero-content h1{
        font-size: 38px;
        margin-top: 30px;
    }
    .hero-content p{
        font-size: 17px;
        width: 90%;
    }
    .gallery-section{
        width: 92%;
        margin: 60px auto;
    }
    .gallery-section h2{
        font-size: 30px;
    }
    .section-text{
        font-size: 15px;
        margin-bottom: 30px;
    }
    .overlay-image i{
        width: 55px;
        height: 55px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    .overlay-image h3{
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1{
        font-size: 28px;
    }
    .hero-content p{
        font-size: 15px;
    }
    .chambres-grid .gallery-item:first-child img{
        height: 220px;
    }
    .chambres-grid .gallery-item:not(:first-child) img{
        height: 200px;
    }
    .gallery-grid-two .gallery-item img{
        height: 220px;
    }
    .gallery-grid-one .gallery-item img{
        height: 260px;
    }
    .gallery-section h2::after{
        width: 120px;
    }
}