/*====================================================
  CELEBRATION LAWN
  PART 1
====================================================*/

:root{

    --bg:#f7f7f3;
    --paper:#ffffff;

    --dark:#171717;
    --text:#474747;

    --green:#2f5d50;
    --gold:#9b7b4b;

    --border:#e5e5e5;

    --shadow:
        0 15px 45px rgba(0,0,0,.08);

    --radius:22px;

    --transition:.45s cubic-bezier(.4,0,.2,1);

}

/*====================================================
RESET
====================================================*/

*,
*::before,
*::after{

    box-sizing:border-box;
    margin:0;
    padding:0;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--bg);

    color:var(--text);

    font-family:"Inter",sans-serif;

    max-width:100%;

    overflow-x:hidden;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

section{

    padding:110px 8%;

}

.container{

    max-width:1350px;

    margin:auto;

}

/*====================================================
SCROLLBAR
====================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:var(--green);

    border-radius:50px;

}

/*====================================================
TYPOGRAPHY
====================================================*/

h1,
h2,
h3{

    font-family:"Cormorant Garamond",serif;

    color:var(--dark);

    line-height:1.1;

}

h1{

    font-size:5rem;

}

h2{

    font-size:3.2rem;

}

h3{

    font-size:1.7rem;

}

p{

    font-size:1.05rem;

    line-height:1.9;

}

/*====================================================
SECTION TITLES
====================================================*/

.section-heading{

    text-align:center;

    margin-bottom:70px;

}

.section-tag{

    display:inline-block;

    letter-spacing:3px;

    text-transform:uppercase;

    color:var(--gold);

    font-size:.8rem;

    margin-bottom:12px;

}

.section-heading h2{

    max-width:700px;

    margin:auto;

}



/*------------------------------------
BUTTON
------------------------------------*/

.nav-btn{
    padding: 13px 28px;

    background: var(--green);
    color: white;

    border-radius: 40px;

    font-size: .95rem;
    font-weight: 600;

    transition: .4s;
}

.nav-btn:hover{
    background: #23483d;

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.15);
}

/*------------------------------------
MOBILE MENU
------------------------------------*/

.menu-toggle{
    display: none;
    flex-direction: column;
    gap: 5px;

    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span{
    width: 28px;
    height: 2px;

    background: var(--dark);
    border-radius: 5px;

    transition: .3s;
}

/*------------------------------------
TABLET
------------------------------------*/

@media(max-width:1100px){

    .nav-links{
        gap: 30px;
    }

    .logo img{
        height: 150px;
    }
}


/*====================================================
NAVBAR
====================================================*/

header{
    position:fixed;
    top:20px;
    left:0;
    width:100%;
    padding:0 32px;
    z-index:1000;
}

.navbar{
    max-width:1280px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:90px;

    padding:0 40px;

    background:rgba(255,255,255,.85);
    backdrop-filter:blur(18px);

    border-radius:32px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.08);
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:85px;
    width:auto;
}

.nav-links{
    display:flex;
    gap:50px;
    list-style:none;
}

.nav-links a{
    font-size:1rem;
    font-weight:600;
    color:var(--dark);
}

.nav-btn{
    display:inline-block;
}

/*====================================================
HERO
====================================================*/

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

    display:flex;

    align-items:center;

    justify-content:center;

}

.hero-image{

    position:absolute;

    inset:0;

    background:url("assets/IMG_4437.JPG") center center/cover;

    animation:heroZoom 18s ease-in-out infinite alternate;

}

@keyframes heroZoom{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.15);

    }

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        rgba(0,0,0,.45),

        rgba(0,0,0,.45)

    );

}

.hero-content{

    position:relative;

    z-index:20;

    max-width:900px;

    text-align:center;

    color:white;

    animation:fadeUp 1.2s ease;

}

.hero h1{

    color:white;

    margin:20px 0;

}

.hero p{

    color:#ececec;

    max-width:760px;

    margin:auto;

    font-size:1.15rem;

}

.eyebrow{

    display:inline-block;

    letter-spacing:4px;

    text-transform:uppercase;

    color:#dfc697;

    font-size:.85rem;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

/*====================================================
BUTTONS
====================================================*/

.hero-buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.primary-btn{

    display:inline-block;

    padding:17px 38px;

    background:var(--green);

    color:white;

    border-radius:50px;

    transition:var(--transition);

    font-weight:600;

}

.primary-btn:hover{

    transform:translateY(-5px);

    box-shadow:

    0 18px 40px rgba(47,93,80,.4);

}

.secondary-btn{

    display:inline-block;

    padding:17px 38px;

    border:2px solid white;

    color:white;

    border-radius:50px;

    transition:var(--transition);

}

.secondary-btn:hover{

    background:white;

    color:var(--dark);

}

.scroll-indicator{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    color:white;

    letter-spacing:3px;

    font-size:.8rem;

}

.scroll-indicator::after{

    content:"";

    display:block;

    width:2px;

    height:55px;

    background:white;

    margin:10px auto 0;

    animation:scrollLine 1.8s infinite;

}

@keyframes scrollLine{

    0%{

        transform:scaleY(.2);

        opacity:0;

    }

    50%{

        opacity:1;

    }

    100%{

        transform:scaleY(1);

        opacity:0;

    }

}

/*====================================================
ABOUT
====================================================*/

.about .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.about-image{

    overflow:hidden;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.about-image img{

    transition:1s;

}

.about-image:hover img{

    transform:scale(1.08);

}

.about-content h2{

    margin:15px 0 30px;

}

.about-content p{

    margin-bottom:20px;

}

/*====================================================
GENERAL IMAGE EFFECT
====================================================*/

.about-image,
.feature-image{

    position:relative;

}

.about-image::before,
.feature-image::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.12)
    );

    opacity:0;

    transition:.5s;

    z-index:2;

}

.about-image:hover::before,
.feature-image:hover::before{

    opacity:1;

}

/*====================================================
FACILITIES
====================================================*/

.facilities{

    background:white;

}

.facility-grid{

    max-width:1350px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.facility-card{

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(12px);

    border:1px solid rgba(0,0,0,.08);

    border-radius:28px;

    padding:40px 35px;

    text-align:center;

    transition:var(--transition);

    position:relative;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

}

.facility-card::before{

    content:"";

    position:absolute;

    inset:-2px;

    border-radius:inherit;

    padding:2px;

    background:linear-gradient(
        135deg,
        transparent,
        rgba(47,93,80,.45),
        transparent
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

            mask-composite:exclude;

    opacity:0;

    transition:.5s;

}

.facility-card:hover{

    transform:translateY(-14px);

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}

.facility-card:hover::before{

    opacity:1;

}

.facility-icon{

    width:82px;

    height:82px;

    margin:auto;

    display:grid;

    place-items:center;

    border-radius:50%;

    background:rgba(47,93,80,.08);

    color:var(--green);

    transition:.5s;

}

.facility-icon svg{

    width:38px;

    height:38px;

}

.facility-card:hover .facility-icon{

    transform:rotate(12deg) scale(1.12);

    background:var(--green);

    color:white;

}

.facility-card h3{

    margin:28px 0 16px;

}

/*====================================================
FEATURE
====================================================*/

.feature{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.feature-image{

    overflow:hidden;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.feature-image img{

    transition:1s;

}

.feature-image:hover img{

    transform:scale(1.08);

}

.feature-content h2{

    margin:18px 0 25px;

}

/*====================================================
GALLERY
====================================================*/

.gallery {
    padding: 120px 8%;
    background: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 380px;
    cursor: pointer;
}

.gallery-card:nth-child(1) {
    grid-column: span 3;
}

.gallery-card:nth-child(2) {
    grid-column: span 3;
}

.gallery-card:nth-child(3) {
    grid-column: span 3;
}

.gallery-card:nth-child(4) {
    grid-column: span 3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        transform .8s ease,
        filter .8s ease;
}

.gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.65),
            transparent 55%
        );

    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.gallery-card h3 {
    position: absolute;
    left: 32px;
    bottom: 28px;

    color: white;
    font-size: 1.5rem;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: 1px;

    opacity: 0;
    transform: translateY(15px);

    transition: .4s;
    z-index: 2;
}

.gallery-card:hover img {
    transform: scale(1.08);
    filter: brightness(.85);
}

.gallery-card:hover::before,
.gallery-card:hover h3 {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-card {
        grid-column: auto !important;
        min-height: 300px;
    }
}

@media(max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/*====================================================
CTA
====================================================*/

.cta{

    padding:140px 8%;

}

.cta-content{

    max-width:1100px;

    margin:auto;

    text-align:center;

    background:

    linear-gradient(
        135deg,
        var(--green),
        #3d7566
    );

    color:white;

    padding:90px 50px;

    border-radius:36px;

    position:relative;

    overflow:hidden;

}

.cta-content::before{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    top:-300px;

    right:-250px;

}

.cta-content h2{

    color:white;

    margin-bottom:20px;

}

.cta-content p{

    color:#ececec;

    margin-bottom:40px;

}

.cta .primary-btn{

    background:white;

    color:var(--green);

}

.cta .primary-btn:hover{

    background:#f6f6f6;

}

/*====================================================
CONTACT
====================================================*/

.contact{

    background:#fff;

}

.contact-grid{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.contact-card{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:45px 30px;

    min-height:260px;

    border-radius:24px;

    background:#fafafa;

    border:1px solid #ececec;

    text-decoration:none;

    color:inherit;

    transition:.35s;

}

/*=========================================
ADDRESS CARD
=========================================*/

.contact-address{
    text-align:left;
    align-items:flex-start;
}

.contact-address .contact-icon{
    margin-bottom:24px;
}

.contact-address h3{
    margin-bottom:16px;
}

.contact-address p{
    line-height:1.8;
    color:#555;
}

.contact-address strong{
    display:block;
    margin-bottom:6px;

    color:var(--dark);

    font-size:1.1rem;
    font-weight:600;
}

.contact-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 45px rgba(0,0,0,.08);

}

.contact-icon{

    width:80px;

    height:80px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#edf5f2;

    color:#2f5d50;

    margin-bottom:20px;

    transition:.35s;

}

.contact-icon svg{

    width:36px;

    height:36px;

}

.contact-card:hover .contact-icon{

    background:#2f5d50;

    color:#fff;

    transform:scale(1.1);

}

.contact-card h3{

    margin-bottom:10px;

}

.contact-card p{

    color:#666;

}





/*=========================================
MOBILE NAV
=========================================*/

.menu-toggle{

    display:none;

    width:48px;

    height:48px;

    border:none;

    background:none;

    cursor:pointer;

    position:relative;

    margin-left:auto;

    z-index:1002;

}

.menu-toggle span{

    display:block;

    width:28px;

    height:3px;

    background:var(--dark);

    margin:6px auto;

    transition:.35s;

    border-radius:5px;

}

.menu-toggle.active span:nth-child(1){

    transform:translateY(9px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:translateY(-9px) rotate(-45deg);

}

/*=========================================
SCROLL EFFECT
=========================================*/

header.scrolled .navbar{

    background:rgba(255,255,255,.96);

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

@media (max-width:900px){

    header{
        top:12px;
        padding:0 12px;
    }

    .navbar{
        height:82px;
        padding:0 24px;
        border-radius:24px;
    }

    .logo{
        position:absolute;

        left:50%;
        transform:translateX(-50%);

        display:flex;
        align-items:center;
    }

    .logo img{
        height:150px;
        width:auto;
    }

    .nav-btn{
        display:none;
    }

    .menu-toggle{
        display:none;
    }

    .nav-links{
        position:fixed;

        top:0;
        right:-280px;

        width:280px;
        height:100vh;

        background:white;

        display:flex;
        flex-direction:column;

        justify-content:center;
        align-items:center;

        gap:32px;

        transform:translateX(100%);

        transition:.4s;

        box-shadow:
            -10px 0 30px rgba(0,0,0,.1);
    }

    .nav-links.active{
        
        right:0;
    }

    .nav-links li{
        list-style:none;
    }

    .nav-links a{
        font-size:1.1rem;
        font-weight:600;
    }

    .hero h1{
        font-size:3rem;
    }

    .about .container,
    .feature{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }
}