/*==================================================
            GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/*==================================================
                RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fafaf7;
    color:#333;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/*==================================================
                HEADER
==================================================*/

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:90px;

    background:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 7%;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    z-index:9999;

}

/*=========================
        LOGO
=========================*/

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:65px;

    height:65px;

    border-radius:50%;

    border:3px solid #2E6B43;

    object-fit:cover;

}

.logo div{

    display:flex;

    flex-direction:column;

}

.logo h2{

    font-family:'Cinzel',serif;

    font-size:34px;

    color:#18452A;

    line-height:1;

}

.logo p{

    font-size:12px;

    letter-spacing:4px;

    color:#2E6B43;

    margin-top:6px;

}

/*=========================
        NAVBAR
=========================*/

.navbar{

    display:flex;

    align-items:center;

    gap:35px;

}

.navbar a{

    color:#333;

    font-size:17px;

    font-weight:500;

    position:relative;

    transition:.3s;

}

.navbar a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#2E6B43;

    transition:.3s;

}

.navbar a:hover,
.navbar a.active{

    color:#2E6B43;

}

.navbar a:hover::after,
.navbar a.active::after{

    width:100%;

}

/*=========================
        MENU BUTTON
=========================*/

.menu-btn{

    display:none;

    font-size:38px;

    color:#2E6B43;

    cursor:pointer;

    transition:.35s;

    z-index:10000;

}

.menu-btn:hover{

    color:#18452A;

}

/*==================================================
                TABLET
==================================================*/

@media(max-width:992px){

header{

    padding:0 5%;

}

.logo h2{

    font-size:28px;

}

.logo img{

    width:60px;

    height:60px;

}

.navbar{

    gap:22px;

}

.navbar a{

    font-size:15px;

}

}

/*==================================================
            MOBILE HEADER
==================================================*/

@media(max-width:768px){

header{

    height:82px;

    padding:0 18px;

}

/* Logo */

.logo{

    flex:1;

}

.logo img{

    width:56px;

    height:56px;

}

.logo h2{

    font-size:22px;

}

.logo p{

    display:none;

}

/* Hamburger */

.menu-btn{

    display:block;

    font-size:40px;

}

/* Side Menu */

.navbar{

    position:fixed;

    top:0;

    right:-100%;

    width:270px;

    height:100vh;

    background:#fff;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    justify-content:flex-start;

    padding:90px 35px;

    gap:28px;

    transition:.45s;

    box-shadow:-10px 0 30px rgba(0,0,0,.15);

}

.navbar.active{

    right:0;

}

.navbar a{

    width:100%;

    font-size:19px;

    font-weight:500;

    color:#333;

    padding:8px 0;

    border-bottom:1px solid #ececec;

}

.navbar a::after{

    display:none;

}

.navbar a.active{

    color:#2E6B43;

}

/* Hero spacing */

.hero{

    margin-top:82px;

}

}

/*==================================================
            SMALL MOBILE
==================================================*/

@media(max-width:480px){

.logo img{

    width:50px;

    height:50px;

}

.logo h2{

    font-size:19px;

}

.menu-btn{

    font-size:36px;

}

.navbar{

    width:240px;

}

.navbar a{

    font-size:18px;

}

}
/*==================================================
                    HERO
==================================================*/

.hero{

    height: 320px;

    background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("Vagamon hills.jpg") center center/cover no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.hero-content{

    color:#fff;

    animation:fadeUp 1s ease;

}

.hero-content h1{

    font-family:'Cinzel',serif;

    font-size:64px;

    margin-bottom:15px;

    letter-spacing:2px;

}

.hero-content p{

    font-size:20px;

    letter-spacing:2px;

}

/*==================================================
                ANIMATION
==================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
                VILLA SECTION
==================================================*/

.villa{

    padding:90px 8%;

    background:#fff;

}

.heading{

    text-align:center;

    margin-bottom:35px;

}

.heading span{

    color:#2E6B43;

    letter-spacing:4px;

    font-size:14px;

    font-weight:600;

}

.heading h2{

    font-family:'Cinzel',serif;

    font-size:48px;

    color:#18452A;

    margin-top:12px;

}

.description{

    max-width:900px;

    margin:auto;

    text-align:center;

    color:#666;

    line-height:1.9;

    font-size:17px;

    margin-bottom:70px;

}

/*==================================================
                BOXES
==================================================*/

.box{

    background:#fff;

    border-radius:20px;

    padding:35px;

    margin-bottom:35px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    border-left:6px solid #2E6B43;

    transition:.4s;

}

.box:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.box h3{

    font-family:'Cinzel',serif;

    font-size:30px;

    color:#18452A;

    margin-bottom:25px;

}

/*==================================================
                GRID
==================================================*/

.box ul{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.box ul li{

    background:#F4FAF5;

    padding:16px 18px;

    border-radius:12px;

    font-size:17px;

    transition:.35s;

}

.box ul li:hover{

    background:#2E6B43;

    color:#fff;

    transform:translateX(8px);

}

/*==================================================
            SCROLL ANIMATION
==================================================*/

.hero,
.villa,
.box{

    opacity:0;

    transform:translateY(50px);

    transition:.8s ease;

}

.hero.show,
.villa.show,
.box.show{

    opacity:1;

    transform:translateY(0);

}
/*==================================================
                LAPTOP
==================================================*/

@media (max-width:1200px){

.hero{

    height:380px;

}

.hero-content h1{

    font-size:54px;

}

.hero-content p{

    font-size:18px;

}

.villa{

    padding:80px 6%;

}

.heading h2{

    font-size:42px;

}

.box{

    padding:30px;

}

.box h3{

    font-size:28px;

}

}

/*==================================================
                TABLET
==================================================*/

@media (max-width:992px){

.hero{

    height:320px;

}

.hero-content h1{

    font-size:42px;

}

.hero-content p{

    font-size:17px;

}

.heading h2{

    font-size:36px;

}

.description{

    font-size:16px;

    line-height:1.8;

}

.box{

    padding:28px;

}

.box h3{

    font-size:26px;

}

.box ul{

    grid-template-columns:repeat(2,1fr);

    gap:15px;

}

.box ul li{

    font-size:15px;

}

}

/*==================================================
                MOBILE
==================================================*/

@media (max-width:768px){

.hero{

    height:250px;

}

.hero-content h1{

    font-size:32px;

}

.hero-content p{

    font-size:15px;

    letter-spacing:1px;

}

.villa{

    padding:60px 20px;

}

.heading span{

    font-size:12px;

}

.heading h2{

    font-size:30px;

}

.description{

    font-size:15px;

    text-align:justify;

    margin-bottom:40px;

}

.box{

    padding:22px;

    margin-bottom:25px;

}

.box h3{

    font-size:22px;

    text-align:center;

}

.box ul{

    grid-template-columns:1fr;

}

.box ul li{

    font-size:15px;

    padding:14px;

}

}

/*==================================================
            SMALL MOBILE
==================================================*/

@media (max-width:480px){

.hero{

    height:210px;

}

.hero-content h1{

    font-size:25px;

}

.hero-content p{

    font-size:13px;

}

.villa{

    padding:50px 15px;

}

.heading h2{

    font-size:25px;

}

.description{

    font-size:14px;

}

.box{

    padding:18px;

    border-radius:15px;

}

.box h3{

    font-size:20px;

}

.box ul li{

    font-size:14px;

    padding:12px;

}

}

/*==================================================
            LARGE DESKTOP
==================================================*/

@media (min-width:1400px){

.hero{

    height:500px;

}

.hero-content h1{

    font-size:72px;

}

.hero-content p{

    font-size:22px;

}

.villa{

    max-width:1400px;

    margin:auto;

}

}

/*==================================================
            SMOOTH HOVER EFFECTS
==================================================*/

.box{

    overflow:hidden;

    position:relative;

}

.box::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:rgba(46,107,67,.06);

    transition:.6s;

}

.box:hover::before{

    left:100%;

}

.box ul li{

    cursor:pointer;

}

.box ul li:hover{

    letter-spacing:.5px;

}

/*==================================================
            SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f2f2f2;

}

::-webkit-scrollbar-thumb{

    background:#2E6B43;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#18452A;

}
/* Mobile Menu Links */
.navbar a{
    font-size:20px;      /* Smaller text */
    font-weight:500;     /* Remove bold */
    color:#333;
    text-decoration:none;
    border:none;
    padding:8px 0;
    position:relative;
    transition:.3s;
}

/* Remove all underline effects */
.navbar a::before,
.navbar a::after{
    display:none !important;
    content:none !important;
}

/* Active page */
.navbar a.active{
    color:#2E6B43;
    font-weight:500;
}

/* Hover */
.navbar a:hover{
    color:#2E6B43;
}