/*==================================================
THE WHITE WOOD HOMESTAY
STYLE.CSS
PART 1
LOCKED
==================================================*/


/*==================================================
ROOT
==================================================*/

:root{

    --white:#ffffff;

    --gold:#B8860B;

    --gold-dark:#6F4E00;

    --background:#111111;

    --card:#181818;

    --text:#d8d8d8;

    --border:rgba(255,255,255,.08);

    --shadow:0 25px 60px rgba(0,0,0,.35);

    --radius:18px;

    --transition:.35s ease;

    --container:1200px;

}


/*==================================================
RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--white);

    font-family:Poppins,sans-serif;

    overflow-x:hidden;

    line-height:1.7;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

button{

    font-family:inherit;

}


/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--gold-dark);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold);

}


/*==================================================
CONTAINER
==================================================*/

.container{

    width:min(92%,var(--container));

    margin:auto;

    position:relative;

    z-index:2;

}


/*==================================================
BACKGROUND SLIDER
==================================================*/

.hero-slider{

    position:fixed;

    inset:0;

    z-index:-2;

    overflow:hidden;

}

.hero-slider__image{

    position:absolute;

    inset:0;

    background-size:cover;

    background-position:center;

    opacity:0;

    transform:scale(1.08);

    transition:opacity 1.4s ease,
               transform 8s linear;

}

.hero-slider__image.active{

    opacity:1;

    transform:scale(1);

}

.hero-slider__overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    rgba(10,10,10,.45),

    rgba(10,10,10,.80)

    ),

    linear-gradient(

    rgba(111,78,0,.25),

    rgba(111,78,0,.55)

    );

}


/*==================================================
HEADER
==================================================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:var(--transition);

}

.header.scrolled{

    background:rgba(12,12,12,.80);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:90px;

}

.logo img{

    width:180px;

}


/*==================================================
NAVIGATION
==================================================*/

.navigation{

    display:flex;

    gap:38px;

}

.navigation a{

    color:var(--white);

    font-size:.95rem;

    letter-spacing:1px;

    position:relative;

    transition:var(--transition);

}

.navigation a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:var(--transition);

}

.navigation a:hover{

    color:var(--gold);

}

.navigation a:hover::after{

    width:100%;

}


/*==================================================
BUTTONS
==================================================*/

.button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:54px;

    padding:0 34px;

    border-radius:999px;

    font-weight:600;

    transition:var(--transition);

    cursor:pointer;

}

.button--gold{

    background:var(--gold-dark);

    color:#fff;

    border:2px solid var(--gold-dark);

}

.button--gold:hover{

    background:var(--gold);

    border-color:var(--gold);

    transform:translateY(-3px);

    box-shadow:

    0 15px 35px

    rgba(184,134,11,.35);

}

.button--outline{

    border:2px solid rgba(255,255,255,.30);

    color:#fff;

    background:transparent;

}

.button--outline:hover{

    background:rgba(255,255,255,.08);

    border-color:#fff;

    transform:translateY(-3px);

}


/*==================================================
MOBILE MENU
==================================================*/

.mobile-menu{

    display:none;

    width:48px;

    height:48px;

    background:none;

    border:none;

    cursor:pointer;

}

.mobile-menu span{

    display:block;

    width:26px;

    height:2px;

    background:#fff;

    margin:6px auto;

}


/*==================================================
HERO
==================================================*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:140px 0 90px;

}

.hero__content{

    max-width:760px;

    margin:auto;

}

.hero__badge{

    display:inline-block;

    padding:10px 26px;

    border-radius:999px;

    background:rgba(111,78,0,.90);

    color:#fff;

    font-size:.80rem;

    letter-spacing:3px;

    margin-bottom:28px;

}

.hero h1{

    font-family:"Playfair Display",serif;

    font-size:clamp(3.2rem,7vw,5.6rem);

    font-weight:700;

    line-height:1.05;

    margin-bottom:10px;

}

.hero h2{

    color:var(--gold);

    font-size:1.6rem;

    font-weight:500;

    margin-bottom:30px;

}

.hero p{

    max-width:620px;

    margin:auto;

    color:var(--text);

    font-size:1.05rem;

    margin-bottom:42px;

}


/*==================================================
HERO BUTTONS
==================================================*/

.hero__buttons{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}


/*==================================================
SCROLL INDICATOR
==================================================*/

.scroll-indicator{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

}

.scroll-indicator span{

    display:block;

    width:26px;

    height:44px;

    border:2px solid rgba(255,255,255,.35);

    border-radius:30px;

    position:relative;

}

.scroll-indicator span::before{

    content:"";

    position:absolute;

    left:50%;

    top:8px;

    width:5px;

    height:5px;

    border-radius:50%;

    background:#fff;

    transform:translateX(-50%);

    animation:scroll 2s infinite;

}

@keyframes scroll{

    0%{

        opacity:0;

        transform:translate(-50%,0);

    }

    40%{

        opacity:1;

    }

    100%{

        opacity:0;

        transform:translate(-50%,18px);

    }

}

/*==================================================
SECTION
==================================================*/

.section{

    position:relative;

    padding:120px 0;

}

.section-heading{

    text-align:center;

    max-width:760px;

    margin:0 auto 70px;

}

.section-heading__badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 28px;

    margin-bottom:24px;

    border-radius:999px;

    background:var(--gold-dark);

    color:#fff;

    font-size:.78rem;

    font-weight:600;

    letter-spacing:3px;

    text-transform:uppercase;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

}

.section-heading h2{

    font-family:"Playfair Display",serif;

    font-size:clamp(2.4rem,5vw,3.6rem);

    font-weight:700;

    line-height:1.15;

    margin-bottom:20px;

}

.section-heading p{

    color:var(--text);

    font-size:1rem;

    max-width:620px;

    margin:auto;

}


/*==================================================
GALLERY
==================================================*/

.gallery{

    overflow:hidden;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    grid-auto-rows:240px;

    gap:22px;

}

.gallery-card{

    position:relative;

    overflow:hidden;

    border-radius:var(--radius);

    background:var(--card);

    box-shadow:var(--shadow);

    cursor:pointer;

}

.gallery-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.8s ease;

}

.gallery-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

    rgba(0,0,0,0),

    rgba(0,0,0,.35)

    );

    opacity:0;

    transition:var(--transition);

    z-index:1;

}

.gallery-card::after{

    content:"+";

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%) scale(.7);

    width:62px;

    height:62px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(184,134,11,.95);

    color:#fff;

    font-size:2rem;

    opacity:0;

    transition:var(--transition);

    z-index:2;

}

.gallery-card:hover img{

    transform:scale(1.12);

}

.gallery-card:hover::before{

    opacity:1;

}

.gallery-card:hover::after{

    opacity:1;

    transform:translate(-50%,-50%) scale(1);

}

.gallery-card--large{

    grid-column:span 2;

    grid-row:span 2;

}


/*==================================================
FACILITIES
==================================================*/

.facility-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.facility-card{

    position:relative;

    padding:45px 35px;

    border-radius:var(--radius);

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    text-align:center;

    transition:.35s ease;

    overflow:hidden;

}

.facility-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

    rgba(184,134,11,.08),

    transparent

    );

    opacity:0;

    transition:var(--transition);

}

.facility-card:hover{

    transform:translateY(-10px);

    border-color:rgba(184,134,11,.45);

    box-shadow:

    0 20px 45px

    rgba(0,0,0,.35);

}

.facility-card:hover::before{

    opacity:1;

}

.facility-card__icon{

    width:72px;

    height:72px;

    margin:0 auto 28px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(184,134,11,.08);

    border:1px solid rgba(184,134,11,.30);

}

.facility-card__icon img{

    width:34px;

    height:34px;

    filter:brightness(0) invert(1);

    transition:var(--transition);

}

.facility-card:hover .facility-card__icon{

    background:var(--gold-dark);

}

.facility-card:hover .facility-card__icon img{

    transform:scale(1.1);

}

.facility-card h3{

    font-family:"Playfair Display",serif;

    font-size:1.45rem;

    margin-bottom:16px;

}

.facility-card p{

    color:var(--text);

    font-size:.96rem;

    line-height:1.8;

}


/*==================================================
REVIEWS
==================================================*/

.review-summary{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

    margin-bottom:50px;

    padding:40px;

    border-radius:var(--radius);

    background:rgba(255,255,255,.04);

    border:1px solid var(--border);

    backdrop-filter:blur(20px);

}

.review-summary__score h3{

    color:var(--gold);

    font-size:2rem;

    letter-spacing:6px;

    margin-bottom:10px;

}

.review-summary__score strong{

    display:block;

    font-size:1.8rem;

    margin-bottom:8px;

}

.review-summary__score span{

    color:var(--text);

}

.review-slider{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}


/*==================================================
REVIEW CARD
==================================================*/

.review-card{

    padding:30px;

    border-radius:var(--radius);

    background:rgba(255,255,255,.04);

    border:1px solid var(--border);

    transition:var(--transition);

}

.review-card:hover{

    transform:translateY(-8px);

    border-color:rgba(184,134,11,.35);

}

.review-card__stars{

    color:var(--gold);

    margin-bottom:18px;

    letter-spacing:3px;

}

.review-card p{

    color:var(--text);

    line-height:1.9;

    margin-bottom:24px;

}

.review-card h4{

    font-size:1rem;

    margin-bottom:4px;

}

.review-card span{

    color:#999;

    font-size:.9rem;

}


/*==================================================
REVEAL ANIMATION
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:1s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*==================================================
LOCATION
==================================================*/

.location-wrapper{

    display:grid;

    grid-template-columns:1.4fr .8fr;

    gap:35px;

    align-items:stretch;

}

.location-map{

    overflow:hidden;

    border-radius:var(--radius);

    background:var(--card);

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    min-height:520px;

}

.location-map iframe{

    width:100%;

    height:100%;

    min-height:520px;

    border:0;

    filter:grayscale(.15) contrast(1.02);

}

.location-card{

    padding:45px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.location-card h3{

    font-family:"Playfair Display",serif;

    font-size:2rem;

    margin-bottom:22px;

}

.location-card p{

    color:var(--text);

    line-height:2;

    margin-bottom:35px;

}

.location-card .button{

    width:max-content;

}



/*==================================================
CONTACT
==================================================*/

.contact-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    margin-bottom:70px;

}

.contact-card{

    position:relative;

    padding:40px 25px;

    text-align:center;

    border-radius:var(--radius);

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    transition:var(--transition);

    overflow:hidden;

}

.contact-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(184,134,11,.12),

        transparent

    );

    opacity:0;

    transition:var(--transition);

}

.contact-card:hover{

    transform:translateY(-10px);

    border-color:rgba(184,134,11,.35);

    box-shadow:

    0 20px 45px rgba(0,0,0,.35);

}

.contact-card:hover::before{

    opacity:1;

}

.contact-card img{

    width:34px;

    height:34px;

    margin:0 auto 24px;

    filter:brightness(0) invert(1);

    transition:var(--transition);

}

.contact-card:hover img{

    transform:scale(1.08);

}

.contact-card h3{

    font-family:"Playfair Display",serif;

    font-size:1.35rem;

    margin-bottom:12px;

}

.contact-card span{

    color:var(--text);

    font-size:.92rem;

}



/*==================================================
SOCIAL
==================================================*/

.social{

    display:flex;

    justify-content:center;

    gap:18px;

}

.social a{

    width:58px;

    height:58px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.18);

    background:rgba(255,255,255,.03);

    transition:var(--transition);

}

.social img{

    width:22px;

    height:22px;

    filter:brightness(0) invert(1);

    transition:var(--transition);

}

.social a:hover{

    background:var(--gold-dark);

    border-color:var(--gold);

    transform:translateY(-5px);

}

.social a:hover img{

    transform:scale(1.12);

}



/*==================================================
FOOTER
==================================================*/

.footer{

    padding:80px 0 45px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    background:rgba(0,0,0,.25);

    backdrop-filter:blur(18px);

}

.footer__logo{

    width:170px;

    margin:0 auto 30px;

}

.footer__name{

    font-family:"Playfair Display",serif;

    font-size:1.6rem;

    margin-bottom:10px;

}

.footer__address{

    color:var(--text);

    margin-bottom:30px;

}

.footer__divider{

    width:90px;

    height:2px;

    background:var(--gold-dark);

    margin:0 auto 30px;

}

.footer__copyright{

    color:#999;

    font-size:.9rem;

}



/*==================================================
LIGHTBOX
==================================================*/

.lightbox{

    position:fixed;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(0,0,0,.92);

    opacity:0;

    visibility:hidden;

    transition:.35s ease;

    z-index:99999;

    padding:30px;

}

.lightbox.active{

    opacity:1;

    visibility:visible;

}

.lightbox img{

    max-width:90%;

    max-height:88vh;

    border-radius:14px;

    box-shadow:0 25px 70px rgba(0,0,0,.55);

}

.lightbox__close{

    position:absolute;

    top:35px;

    right:45px;

    color:#fff;

    font-size:3rem;

    cursor:pointer;

    line-height:1;

    transition:var(--transition);

}

.lightbox__close:hover{

    color:var(--gold);

}



/*==================================================
UTILITY
==================================================*/

.text-center{

    text-align:center;

}

.hidden{

    display:none !important;

}

.no-scroll{

    overflow:hidden;

}

/*==================================================
MOBILE NAVIGATION
==================================================*/

@media (max-width:991px){

    .navigation{

        position:fixed;

        top:90px;

        left:0;

        width:100%;

        background:rgba(15,15,15,.96);

        backdrop-filter:blur(18px);

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:30px;

        padding:45px 0;

        transform:translateY(-120%);

        opacity:0;

        visibility:hidden;

        transition:.35s ease;

        border-bottom:1px solid rgba(255,255,255,.08);

    }

    .navigation.active{

        transform:translateY(0);

        opacity:1;

        visibility:visible;

    }

    .mobile-menu{

        display:block;

    }

    .header .button{

        display:none;

    }

}



/*==================================================
LAPTOP
==================================================*/

@media (max-width:1200px){

    .container{

        width:min(94%,1100px);

    }

    .gallery-grid{

        grid-template-columns:repeat(3,1fr);

    }

    .facility-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .contact-grid{

        grid-template-columns:repeat(2,1fr);

    }

}



/*==================================================
TABLET
==================================================*/

@media (max-width:991px){

    .hero{

        padding:150px 0 90px;

    }

    .hero h1{

        font-size:3.6rem;

    }

    .hero h2{

        font-size:1.35rem;

    }

    .section{

        padding:90px 0;

    }

    .location-wrapper{

        grid-template-columns:1fr;

    }

    .location-map{

        min-height:420px;

    }

    .location-map iframe{

        min-height:420px;

    }

    .review-summary{

        flex-direction:column;

        text-align:center;

    }

    .review-slider{

        grid-template-columns:repeat(2,1fr);

    }

}



/*==================================================
PHONE
==================================================*/

@media (max-width:768px){

    .logo img{

        width:145px;

    }

    .hero{

        min-height:100svh;

        padding:120px 0 70px;

    }

    .hero__badge{

        font-size:.7rem;

        letter-spacing:2px;

        padding:9px 20px;

        margin-bottom:22px;

    }

    .hero h1{

        font-size:2.8rem;

    }

    .hero h2{

        font-size:1.15rem;

        margin-bottom:22px;

    }

    .hero p{

        font-size:.95rem;

        margin-bottom:35px;

    }

    .hero__buttons{

        flex-direction:column;

        width:100%;

        max-width:300px;

        margin:auto;

    }

    .button{

        width:100%;

    }

    .section-heading{

        margin-bottom:55px;

    }

    .section-heading h2{

        font-size:2.2rem;

    }

    .gallery-grid{

        grid-template-columns:1fr;

        grid-auto-rows:240px;

    }

    .gallery-card--large{

        grid-column:auto;

        grid-row:auto;

    }

    .facility-grid{

        grid-template-columns:1fr;

    }

    .review-slider{

        grid-template-columns:1fr;

    }

    .contact-grid{

        grid-template-columns:1fr;

    }

    .social{

        flex-wrap:wrap;

        gap:14px;

    }

    .footer{

        padding:70px 0 35px;

    }

}



/*==================================================
SMALL PHONE
==================================================*/

@media (max-width:480px){

    .container{

        width:92%;

    }

    .hero h1{

        font-size:2.35rem;

    }

    .hero h2{

        font-size:1rem;

    }

    .hero p{

        font-size:.9rem;

    }

    .section{

        padding:70px 0;

    }

    .section-heading__badge{

        font-size:.68rem;

        padding:10px 18px;

    }

    .section-heading h2{

        font-size:1.9rem;

    }

    .facility-card{

        padding:35px 25px;

    }

    .contact-card{

        padding:35px 20px;

    }

    .location-card{

        padding:35px 25px;

    }

}



/*==================================================
ANIMATION
==================================================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:

        opacity .8s ease,

        transform .8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}



.fade{

    opacity:0;

    transition:opacity .8s ease;

}

.fade.show{

    opacity:1;

}



.scale{

    opacity:0;

    transform:scale(.92);

    transition:

        opacity .8s ease,

        transform .8s ease;

}

.scale.show{

    opacity:1;

    transform:scale(1);

}



/*==================================================
SELECTION
==================================================*/

::selection{

    background:var(--gold-dark);

    color:#fff;

}



/*==================================================
FOCUS
==================================================*/

a:focus,

button:focus{

    outline:none;

    box-shadow:

        0 0 0 3px rgba(184,134,11,.45);

}



/*==================================================
IMAGE PERFORMANCE
==================================================*/

.gallery-card img,

.hero-slider__image{

    will-change:transform;

}



/*==================================================
PRINT
==================================================*/

@media print{

    .header,

    .hero-slider,

    .scroll-indicator,

    .social,

    .button,

    .mobile-menu{

        display:none !important;

    }

}



/*==================================================
END OF FILE

THE WHITE WOOD HOMESTAY

VERSION 2.0

STYLE.CSS

LOCKED

==================================================*/