/*=====================================================

THE EVERGREEN HOTEL & RESORT
Designed by ZoeTech Studios

======================================================*/

/*==============================
GOOGLE FONTS
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/*==============================
CSS VARIABLES
==============================*/

:root{

    --forest:#355E3B;
    --forest-light:#4F7C57;
    --beige:#E8DDC8;
    --cream:#F8F5F0;
    --white:#FFFFFF;
    --charcoal:#2D2D2D;
    --gold:#B08D57;
    --gray:#6E6E6E;
    --border:#E2D9C8;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.4s ease;

}

/*==============================
RESET
==============================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--cream);
    color:var(--charcoal);
    overflow-x:hidden;
    line-height:1.8;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

button,
input,
select,
textarea{

    font-family:'Poppins',sans-serif;

}

.container{

    width:min(90%,1300px);
    margin:auto;

}

section{

    padding:120px 0;

}

/*==============================
TYPOGRAPHY
==============================*/

h1,
h2,
h3,
h4{

    font-family:'Cormorant Garamond',serif;
    color:var(--charcoal);

}

h1{

    font-size:5rem;
    line-height:1.1;
    font-weight:700;

}

h2{

    font-size:3rem;
    margin-bottom:20px;

}

h3{

    font-size:2rem;

}

p{

    color:var(--gray);

}

.section-heading{

    text-align:center;
    margin-bottom:70px;

}

.section-heading span{

    display:inline-block;
    color:var(--forest);
    letter-spacing:3px;
    font-size:.9rem;
    font-weight:600;
    margin-bottom:12px;

}

.section-subtitle{

    display:inline-block;
    color:var(--forest);
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;
    font-weight:600;

}

/*==============================
BUTTONS
==============================*/

.primary-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 38px;
    background:var(--forest);
    color:var(--white);
    border-radius:50px;
    transition:var(--transition);
    font-weight:600;

}

.primary-btn:hover{

    background:var(--gold);
    transform:translateY(-5px);

}

.secondary-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 38px;
    border:2px solid var(--white);
    color:var(--white);
    border-radius:50px;
    transition:var(--transition);

}

.secondary-btn:hover{

    background:var(--white);
    color:var(--forest);

}

/*==============================
HEADER
==============================*/

header{

    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    transition:var(--transition);

}

.navbar{

    width:min(92%,1350px);
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 0;

}

.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo-icon{

    width:55px;
    height:55px;
    border-radius:50%;
    background:rgba(255,255,255,.15);

    display:flex;
    justify-content:center;
    align-items:center;

    color:var(--white);
    font-size:1.4rem;

    backdrop-filter:blur(15px);

}

.logo-text h2{

    color:var(--white);
    font-size:2rem;
    margin:0;

}

.logo-text span{

    color:var(--beige);
    letter-spacing:2px;
    font-size:.8rem;
    text-transform:uppercase;

}

.nav-links{

    display:flex;
    gap:40px;

}

.nav-links a{

    color:var(--white);
    font-weight:500;
    position:relative;
    transition:var(--transition);

}

.nav-links a::after{

    content:"";
    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:var(--gold);

    transition:var(--transition);

}

.nav-links a:hover::after{

    width:100%;

}

.book-btn{

    background:var(--forest);
    color:var(--white);

    padding:14px 28px;

    border-radius:40px;

    transition:var(--transition);

}

.book-btn:hover{

    background:var(--gold);

}

.menu-toggle{

    display:none;
    color:white;
    font-size:1.6rem;
    cursor:pointer;

}
/*=========================================
HERO SECTION
=========================================*/

.hero{

    min-height:100vh;
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 8%;

    background:url("images/hero.jpg") center center/cover no-repeat;

    overflow:hidden;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to right,
        rgba(26,40,32,.85),
        rgba(26,40,32,.45),
        rgba(26,40,32,.25)
    );

}

.overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.15);

}

.hero-content{

    position:relative;
    z-index:2;

    max-width:720px;

    color:var(--white);

}

.hero-content .subtitle{

    display:inline-block;

    color:var(--beige);

    text-transform:uppercase;

    letter-spacing:4px;

    font-size:.9rem;

    margin-bottom:25px;

}

.hero-content h1{

    color:var(--white);

    margin-bottom:30px;

}

.hero-content p{

    color:rgba(255,255,255,.88);

    font-size:1.08rem;

    margin-bottom:40px;

    max-width:600px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

/*=========================================
FLOATING BOOKING CARD
=========================================*/

.booking-card{

    position:absolute;

    right:8%;

    bottom:60px;

    width:360px;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(20px);

    border-radius:24px;

    padding:35px;

    z-index:10;

    box-shadow:0 20px 60px rgba(0,0,0,.18);

}

.booking-card h3{

    font-size:2rem;

    margin-bottom:25px;

}

.booking-card form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.input-box{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.input-box label{

    color:var(--forest);

    font-weight:600;

    font-size:.9rem;

}

.input-box input,
.input-box select{

    width:100%;

    padding:15px;

    border:1px solid var(--border);

    border-radius:12px;

    background:var(--white);

    outline:none;

    transition:var(--transition);

}

.input-box input:focus,
.input-box select:focus{

    border-color:var(--forest);

}

.booking-card button{

    margin-top:10px;

    padding:16px;

    border:none;

    border-radius:12px;

    background:var(--forest);

    color:var(--white);

    cursor:pointer;

    font-weight:600;

    transition:var(--transition);

}

.booking-card button:hover{

    background:var(--gold);

}

/*=========================================
ABOUT SECTION
=========================================*/

.about{

    background:var(--white);

}

.about .wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:left;

}

.about-image{

    overflow:hidden;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.about-image img
.about-image{

    max-width:500px;
    width:100%;

    margin:auto;

    overflow:hidden;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.about-image{

    max-width:500px;
    width:100%;

    margin:auto;

    overflow:hidden;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.about-image img{

    width:100%;

    height:400px;

    object-fit:cover;

    display:block;

    transition:.8s;

}

.about-image:hover img{

    transform:scale(1.05);

}

.about-content p{

    margin-bottom:25px;

}

.about-content .primary-btn{

    margin-top:15px;

}

/*=========================================
SECTION ANIMATION
=========================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-content{

    animation:fadeUp 1.2s ease;

}

.booking-card{

    animation:fadeUp 1.6s ease;

}
/*=========================================
ROOMS SECTION
=========================================*/

.rooms{

    background:var(--cream);

}

.room-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.room-card{

    background:var(--white);

    border-radius:22px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

    position:relative;

}

.room-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.room-card img{

    height:280px;

    object-fit:cover;

    transition:.7s;

}

.room-card:hover img{

    transform:scale(1.08);

}

.room-content{

    padding:30px;

}

.room-content h3{

    margin:15px 0;

    font-size:2rem;

}

.room-content p{

    margin-bottom:25px;

}

.price{

    display:inline-block;

    background:var(--forest);

    color:var(--white);

    padding:10px 18px;

    border-radius:50px;

    font-size:.9rem;

    font-weight:600;

}

.room-features{

    margin-bottom:30px;

}

.room-features li{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:15px;

    color:var(--gray);

}

.room-features i{

    color:var(--gold);

    width:20px;

}

/*=========================================
EXPERIENCES
=========================================*/

.experiences{

    background:var(--white);

}

.experience-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.experience-card{

    background:var(--cream);

    padding:45px 35px;

    text-align:center;

    border-radius:22px;

    transition:var(--transition);

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.experience-card:hover{

    background:var(--forest);

    transform:translateY(-10px);

}

.experience-card i{

    font-size:3rem;

    color:var(--forest);

    margin-bottom:25px;

    transition:var(--transition);

}

.experience-card h3{

    margin-bottom:15px;

}

.experience-card p{

    transition:var(--transition);

}

.experience-card:hover i{

    color:var(--gold);

}

.experience-card:hover h3{

    color:var(--white);

}

.experience-card:hover p{

    color:rgba(255,255,255,.85);

}

/*=========================================
DINING SECTION
=========================================*/

.dining{

    background:var(--cream);

}

.dining-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.dining-image{

    overflow:hidden;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.dining-image img{

    height:600px;

    object-fit:cover;

    transition:.8s;

}

.dining-image:hover img{

    transform:scale(1.08);

}

.dining-content p{

    margin-bottom:25px;

}

.dining-features{

    margin:35px 0;

}

.dining-features li{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:18px;

    font-weight:500;

}

.dining-features i{

    color:var(--forest);

}

/*=========================================
STATISTICS
=========================================*/

.stats{

    background:var(--forest);

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.stat-card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    padding:50px 30px;

    border-radius:20px;

    text-align:center;

    border:1px solid rgba(255,255,255,.15);

}

.stat-card h2{

    color:var(--white);

    font-size:3.5rem;

    margin-bottom:15px;

}

.stat-card p{

    color:rgba(255,255,255,.85);

    letter-spacing:1px;

    text-transform:uppercase;

    font-size:.9rem;

}
/*=========================================
SECTION HEADINGS
=========================================*/

.section-heading h2{

    max-width:700px;

    margin:0 auto;

    line-height:1.2;

}

.section-heading p{

    max-width:650px;

    margin:20px auto 0;

}

/*=========================================
GALLERY
=========================================*/

.gallery{

    background:var(--white);

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    grid-auto-rows:250px;

    gap:20px;

}

.gallery-grid img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:20px;

    cursor:pointer;

    transition:.6s;

    box-shadow:var(--shadow);

}

.gallery-grid img:hover{

    transform:scale(1.05);

    filter:brightness(.85);

}

/* Luxury Masonry Layout */

.gallery-grid img:nth-child(1){

    grid-column:span 2;

    grid-row:span 2;

}

.gallery-grid img:nth-child(4){

    grid-row:span 2;

}

.gallery-grid img:nth-child(7){

    grid-column:span 2;

}

.gallery-grid img:nth-child(10){

    grid-column:span 2;

}

/*=========================================
TESTIMONIALS
=========================================*/

.testimonials{

    background:var(--cream);

}

.testimonial-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.testimonial-card{

    background:var(--white);

    padding:40px;

    border-radius:24px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.testimonial-card:hover{

    transform:translateY(-12px);

}

.stars{

    color:var(--gold);

    margin-bottom:20px;

}

.stars i{

    margin-right:5px;

}

.testimonial-card p{

    font-style:italic;

    margin-bottom:35px;

}

.guest{

    display:flex;

    align-items:center;

    gap:18px;

}

.guest img{

    width:70px;

    height:70px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid var(--beige);

}

.guest h4{

    margin-bottom:5px;

    font-size:1.4rem;

}

.guest span{

    color:var(--gray);

    font-size:.9rem;

}

/*=========================================
BOOKING SECTION
=========================================*/

.booking{

    background:linear-gradient(

        rgba(53,94,59,.94),

        rgba(53,94,59,.94)

    ),

    url("images/booking-bg.jpg") center/cover;

}

.booking-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.booking-content{

    color:var(--white);

}

.booking-content h2{

    color:var(--white);

}

.booking-content p{

    color:rgba(255,255,255,.85);

}

.booking-form{

    background:rgba(255,255,255,.95);

    padding:45px;

    border-radius:25px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

    box-shadow:0 20px 60px rgba(0,0,0,.2);

}

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group label{

    margin-bottom:8px;

    color:var(--forest);

    font-weight:600;

}

.form-group input,
.form-group select{

    padding:16px;

    border:1px solid var(--border);

    border-radius:12px;

    outline:none;

    transition:var(--transition);

}

.form-group input:focus,
.form-group select:focus{

    border-color:var(--forest);

}

.booking-form button{

    grid-column:span 2;

    margin-top:10px;

}
/*=========================================
CONTACT SECTION
=========================================*/

.contact{

    background:var(--white);

}

.contact-wrapper{

    display:grid;

    grid-template-columns:1fr 1.2fr;

    gap:60px;

    align-items:center;

}

.contact-info{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.info-box{

    display:flex;

    align-items:flex-start;

    gap:20px;

    padding:25px;

    background:var(--cream);

    border-radius:20px;

    transition:var(--transition);

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.info-box:hover{

    transform:translateY(-8px);

    background:var(--forest);

}

.info-box i{

    width:60px;

    height:60px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--forest);

    color:var(--white);

    font-size:1.3rem;

    flex-shrink:0;

    transition:var(--transition);

}

.info-box:hover i{

    background:var(--gold);

}

.info-box h3{

    margin-bottom:8px;

}

.info-box:hover h3{

    color:var(--white);

}

.info-box:hover p{

    color:rgba(255,255,255,.85);

}

.map{

    height:100%;

    min-height:520px;

    overflow:hidden;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.map iframe{

    width:100%;

    height:100%;

    border:none;

}

/*=========================================
NEWSLETTER
=========================================*/

.newsletter{

    background:var(--forest);

    padding:80px 0;

}

.newsletter-wrapper{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:50px;

}

.newsletter-wrapper h2{

    color:var(--white);

    margin-bottom:15px;

}

.newsletter-wrapper p{

    color:rgba(255,255,255,.85);

}

.newsletter-form{

    display:flex;

    width:100%;

    max-width:600px;

    background:var(--white);

    border-radius:60px;

    overflow:hidden;

}

.newsletter-form input{

    flex:1;

    border:none;

    outline:none;

    padding:18px 25px;

    font-size:1rem;

}

.newsletter-form button{

    border:none;

    background:var(--gold);

    color:var(--white);

    padding:0 35px;

    cursor:pointer;

    font-weight:600;

    transition:var(--transition);

}

.newsletter-form button:hover{

    background:var(--forest-light);

}

/*=========================================
FOOTER
=========================================*/

footer{

    background:#21372A;

    color:rgba(255,255,255,.85);

    padding:90px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer-about h2{

    color:var(--white);

    margin-bottom:20px;

}

.footer-about p{

    color:rgba(255,255,255,.75);

}

.footer-links h3,

.footer-social h3{

    color:var(--white);

    margin-bottom:25px;

}

.footer-links ul{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-links a{

    transition:var(--transition);

}

.footer-links a:hover{

    color:var(--gold);

    padding-left:8px;

}

.social-icons{

    display:flex;

    gap:15px;

}

.social-icons a{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.08);

    color:var(--white);

    transition:var(--transition);

}

.social-icons a:hover{

    background:var(--gold);

    transform:translateY(-6px);

}

footer hr{

    margin:60px 0 30px;

    border:none;

    height:1px;

    background:rgba(255,255,255,.12);

}

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}

.footer-bottom strong{

    color:var(--gold);

}

/*=========================================
SCROLLBAR
=========================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--cream);

}

::-webkit-scrollbar-thumb{

    background:var(--forest);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold);

}

/*=========================================
TEXT SELECTION
=========================================*/

::selection{

    background:var(--forest);

    color:var(--white);

}

/*=========================================
FOCUS ACCESSIBILITY
=========================================*/

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus{

    outline:2px solid var(--gold);

    outline-offset:3px;

}
/*=========================================
RESPONSIVE DESIGN
=========================================*/

/*==============================
1200px
==============================*/

@media (max-width:1200px){

    h1{

        font-size:4.2rem;

    }

    .hero{

        padding:0 5%;

    }

    .booking-card{

        width:330px;

        right:5%;

    }

    .footer-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/*==============================
992px
==============================*/

@media (max-width:992px){

    section{

        padding:90px 0;

    }

    h1{

        font-size:3.5rem;

    }

    h2{

        font-size:2.5rem;

    }

    .nav-links{

        position:fixed;

        top:90px;

        right:-100%;

        width:300px;

        height:calc(100vh - 90px);

        background:var(--forest);

        flex-direction:column;

        justify-content:flex-start;

        align-items:center;

        padding-top:50px;

        gap:30px;

        transition:.5s;

        box-shadow:-10px 0 30px rgba(0,0,0,.15);

    }

    .nav-links.active{

        right:0;

    }

    .menu-toggle{

        display:block;

    }

    .book-btn{

        display:none;

    }

    .about .container,

    .dining-wrapper,

    .booking-wrapper,

    .contact-wrapper{

        grid-template-columns:1fr;

    }

    .booking-card{

        position:relative;

        right:auto;

        bottom:auto;

        width:100%;

        max-width:550px;

        margin:60px auto 0;

    }

    .hero{

        flex-direction:column;

        justify-content:center;

        padding-top:120px;

    }

    .newsletter-wrapper{

        flex-direction:column;

        text-align:center;

    }

}

/*==============================
768px
==============================*/

@media (max-width:768px){

    h1{

        font-size:3rem;

    }

    h2{

        font-size:2.2rem;

    }

    .navbar{

        padding:20px 0;

    }

    .hero{

        text-align:center;

    }

    .hero-content{

        max-width:100%;

    }

    .hero-buttons{

        justify-content:center;

    }

    .booking-form{

        grid-template-columns:1fr;

    }

    .booking-form button{

        grid-column:span 1;

    }

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

        grid-auto-rows:220px;

    }

    .gallery-grid img:nth-child(1),

    .gallery-grid img:nth-child(4),

    .gallery-grid img:nth-child(7),

    .gallery-grid img:nth-child(10){

        grid-column:span 1;

        grid-row:span 1;

    }

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .social-icons{

        justify-content:center;

    }

}

/*==============================
576px
==============================*/

@media (max-width:576px){

    .container{

        width:92%;

    }

    section{

        padding:70px 0;

    }

    h1{

        font-size:2.4rem;

    }

    h2{

        font-size:2rem;

    }

    h3{

        font-size:1.6rem;

    }

    .hero-content p{

        font-size:.95rem;

    }

    .primary-btn,

    .secondary-btn{

        width:100%;

        justify-content:center;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .room-grid,

    .experience-grid,

    .testimonial-grid{

        grid-template-columns:1fr;

    }

    .gallery-grid{

        grid-template-columns:1fr;

        grid-auto-rows:260px;

    }

    .newsletter-form{

        flex-direction:column;

        border-radius:20px;

    }

    .newsletter-form input{

        width:100%;

    }

    .newsletter-form button{

        width:100%;

        padding:18px;

    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;

    }

    .logo-text h2{

        font-size:1.5rem;

    }

    .logo-icon{

        width:48px;

        height:48px;

    }

}

/*=========================================
SCROLLED HEADER
=========================================*/

header.scrolled{

    background:rgba(33,55,42,.95);

    backdrop-filter:blur(12px);

    box-shadow:0 10px 25px rgba(0,0,0,.12);

}

/*=========================================
IMAGE HOVER
=========================================*/

.room-card,
.experience-card,
.testimonial-card,
.info-box,
.gallery-grid img{

    will-change:transform;

}

/*=========================================
END OF FILE
=========================================*/
.back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:var(--forest);

    color:white;

    font-size:1.2rem;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:999;

}


.back-top.active{

    opacity:1;

    visibility:visible;

}


.back-top:hover{

    background:var(--gold);

    transform:translateY(-5px);

}