/* =========================================
   LIVING HERO
========================================= */
.living-hero{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.living-hero img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.living-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.living-hero-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 900px;
    z-index: 2;
}

.living-hero-content span{
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 14px;
}

.living-hero-content h1{
    font-size: 96px;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 25px;
    font-weight: 600;
}

.living-hero-content p{
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}


/* =========================================
   INFO SECTION
========================================= */
.living-info{
    padding: 120px 0;
    background: #f8f6f2;
}

.info-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-content h2{
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.info-content p{
    margin-bottom: 22px;
    color: #555;
}

.booking-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: #222;
    color: #fff;
    margin-top: 20px;
    transition: 0.4s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
}

.booking-button:hover{
    background: #8b7d65;
}

.info-image{
    overflow: hidden;
    border-radius: 12px;
}

.info-image img{
    height: 700px;
    object-fit: cover;
    transition: 0.5s ease;
}

.info-image:hover img{
    transform: scale(1.05);
}


/* =========================================
   GALLERY SECTION
========================================= */
.gallery-section{
    padding: 0 0 120px;
    background: #f8f6f2;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img{
    height: 450px;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-grid img:hover{
    transform: scale(0.98);
}


/* =========================================
   TABS SECTION
========================================= */
.tabs-section{
    padding: 120px 0;
    background: #fff;
}

.tabs-buttons{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.tab-btn{
    padding: 14px 28px;
    border: 1px solid #d6d1c7;
    background: transparent;
    cursor: pointer;
    transition: 0.4s ease;
    font-size: 14px;
    letter-spacing: 1px;
}

.tab-btn:hover{
    background: #222;
    color: #fff;
}

.tab-btn.active{
    background: #222;
    color: #fff;
}

.tabs-content{
    max-width: 900px;
    margin: auto;
}

.tab-item{
    display: none;
    animation: fadeTab 0.4s ease;
}

.tab-item.active{
    display: block;
}

.tab-item h3{
    font-size: 46px;
    margin-bottom: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    text-align: center;
}

.tab-item p{
    text-align: center;
    color: #666;
    line-height: 1.9;
    font-size: 16px;
}


/* =========================================
   TAB ANIMATION
========================================= */
@keyframes fadeTab{

    from{
        opacity: 0;
        transform: translateY(10px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}



/* =========================================
   RESPONSIVE
========================================= */
@media(max-width: 1100px){

    .info-grid{
        grid-template-columns: 1fr;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
    }

}


@media(max-width: 768px){

    .living-hero-content h1{
        font-size: 64px;
    }

    .info-content h2{
        font-size: 46px;
    }

    .tab-item h3{
        font-size: 38px;
    }

}


@media(max-width: 576px){

    .living-hero-content h1{
        font-size: 46px;
    }

    .living-hero-content p{
        font-size: 15px;
    }

    .info-content h2{
        font-size: 38px;
    }

    .info-image img{
        height: 450px;
    }

    .gallery-grid img{
        height: 320px;
    }

    .tab-item h3{
        font-size: 30px;
    }

}
/* =========================================
   CUSTOM SLIDER
========================================= */

.custom-slider{
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.slider-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: 0.8s ease;
}

.slider-image.active{
    opacity: 1;
}

.slider-prev,
.slider-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 54px;
    height: 54px;

    border: none;
    cursor: pointer;

    background: rgba(255,255,255,0.2);
    color: #fff;

    font-size: 28px;

    backdrop-filter: blur(10px);

    transition: 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover{
    background: rgba(255,255,255,0.4);
}

.slider-prev{
    left: 30px;
}

.slider-next{
    right: 30px;
}
/* =========================================
   AMENITIES SECTION
========================================= */

.amenities-section{
    padding: 120px 0;
    background: #f8f6f2;
}

.amenities-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amenity-item{
    background: #fff;
    padding: 50px 40px;
    transition: 0.4s ease;
    border: 1px solid #ebe7df;
}

.amenity-item:hover{
    transform: translateY(-8px);
}

.amenity-item h3{
    font-size: 32px;
    margin-bottom: 18px;
    font-family: 'Cormorant Garamond', serif;
}

.amenity-item p{
    color: #666;
    line-height: 1.8;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 900px){

    .amenities-grid{
        grid-template-columns: 1fr;
    }

}
/* =========================================
   STICKY TABS
========================================= */

.sticky-tabs-section{
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ece8df;
}

.tabs-sticky-wrapper{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-tab{
    padding: 22px 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.scroll-tab:hover{
    background: #f5f2eb;
}

.scroll-tab.active{
    background: #222;
    color: #fff;
}


/* =========================================
   CONTENT SECTION
========================================= */

.content-section{
    padding: 140px 0;
}

.content-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-grid.reverse .content-image{
    order: 2;
}

.content-grid.reverse .content-text{
    order: 1;
}

.content-image img{
    height: 700px;
    object-fit: cover;
    border-radius: 10px;
}

.content-text h2{
    font-size: 58px;
    margin-bottom: 28px;
    line-height: 1.1;
    font-family: 'Cormorant Garamond', serif;
}

.content-text p{
    color: #666;
    line-height: 1.9;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 992px){

    .content-grid{
        grid-template-columns: 1fr;
    }

    .content-grid.reverse .content-image,
    .content-grid.reverse .content-text{
        order: unset;
    }

}
/* =========================================
   TABS SECTION
========================================= */

.tabs-section{
    padding: 80px 0;
    background: #f8f6f2;
}

.tabs-buttons{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 50px;
}

.tab-btn{
    padding: 16px 32px;
    border: none;
    background: transparent;
    border-bottom: 1px solid #c9bba8;
    cursor: pointer;

    font-size: 15px;
    color: #8b6f52;

    transition: 0.3s ease;
}

.tab-btn:hover{
    color: #222;
}

.tab-btn.active{
    background: #6f4a3a;
    color: #fff;
    border-bottom: none;
}


/* =========================================
   TAB CONTENT
========================================= */

.tabs-content-wrapper{
    max-width: 1200px;
    margin: auto;
    min-height: 220px;
}

.tab-content{
    display: none;
    animation: fadeTab 0.4s ease;
}

.tab-content.active{
    display: block;
}

.tab-content h3{
    font-size: 34px;
    margin-bottom: 24px;
    font-family: 'Cormorant Garamond', serif;
    color: #2a2a2a;
}

.tab-content p{
    line-height: 2;
    color: #444;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes fadeTab{

    from{
        opacity: 0;
        transform: translateY(10px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}
/* =========================================
   STORY SECTION
========================================= */

.story-section{
    padding: 120px 0;
    background: #fff;
}

.story-item{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 140px;
}

.story-item.reverse .story-image{
    order: 2;
}

.story-item.reverse .story-content{
    order: 1;
}

.story-image{
    overflow: hidden;
    border-radius: 12px;
}

.story-image img{
    height: 700px;
    object-fit: cover;
    transition: 0.7s ease;
}

.story-image:hover img{
    transform: scale(1.05);
}

.story-content h2{
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-family: 'Cormorant Garamond', serif;
    color: #222;
}

.story-content p{
    color: #666;
    line-height: 1.9;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 992px){

    .story-item{
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-item.reverse .story-image,
    .story-item.reverse .story-content{
        order: unset;
    }

}


@media(max-width: 576px){

    .story-image img{
        height: 420px;
    }

    .story-content h2{
        font-size: 40px;
    }

}
