/*=========================================================
WHITE HEAVEN LINEN™
Master Stylesheet
Version 5.0
=========================================================*/


/*=========================================================
GOOGLE FONTS
=========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');


/*=========================================================
ROOT VARIABLES
=========================================================*/

:root{

    --primary:#0B1F3A;
    --secondary:#B89246;
    --secondary-dark:#98752D;

    --white:#ffffff;
    --light:#f8f9fb;
    --dark:#18202A;

    --text:#333333;
    --text-light:#666666;

    --border:#e7e7e7;

    --radius:14px;

    --shadow:0 12px 35px rgba(0,0,0,.08);
    --shadow-hover:0 18px 45px rgba(0,0,0,.15);

    --transition:.35s ease;

    --container:1240px;

}


/*=========================================================
RESET
=========================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;
    color:var(--text);
    background:var(--white);

    font-size:16px;
    line-height:1.8;

    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;
    height:auto;

}

a{

    text-decoration:none;
    color:inherit;
    transition:var(--transition);

}

ul{

    list-style:none;

}


/*=========================================================
CONTAINER
=========================================================*/

.container{

    width:min(92%,var(--container));
    margin:auto;

}


/*=========================================================
TYPOGRAPHY
=========================================================*/

h1,
h2,
h3,
h4{

    font-family:'Playfair Display',serif;
    color:var(--primary);
    font-weight:700;
    line-height:1.8;

}

h1{

    font-size:45px;

}

h2{

    font-size:38px;

}

h3{

    font-size:28px;

}

p{

    color:var(--text-light);
    font-size:17px;

}


/*=========================================================
SECTIONS
=========================================================*/

.section{

    padding:100px 0;

}

.light{

    background:var(--light);

}

.section-header{

    text-align:center;
    margin-bottom:60px;

}

.section-subtitle{

    display:inline-block;

    color:var(--secondary);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:20px;

    font-weight:700;

    margin-bottom:18px;

}

.divider{

    width:90px;
    height:3px;

    background:var(--secondary);

    margin:25px auto;

}


/*=========================================================
GRID
=========================================================*/

.grid{

    display:grid;
    gap:40px;

}

.grid-2{

    grid-template-columns:repeat(2,1fr);

}

.grid-3{

    grid-template-columns:repeat(3,1fr);

}

.grid-4{

    grid-template-columns:repeat(4,1fr);

}

.align-center{

    align-items:center;

}


/*=========================================================
BUTTONS
=========================================================*/

.btn{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    padding:15px 36px;

    border-radius:50px;

    background:var(--secondary);

    color:#fff;

    font-weight:600;

    border:none;

    cursor:pointer;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.btn:hover{

    background:var(--secondary-dark);

    transform:translateY(-4px);

}

.btn-outline{

    background:transparent;

    color:#fff;

    border:2px solid #fff;

}

.btn-outline:hover{

    background:#fff;

    color:var(--primary);

}

.btn-light{

    background:#fff;

    color:var(--primary);

}

.btn-light:hover{

    background:var(--secondary);

    color:#fff;

}

.btn-small{

    padding:12px 24px;

    font-size:15px;

}


/*=========================================================
HEADER
=========================================================*/

header{

    position:sticky;

    top:0;

    z-index:999;

    background:#fff;

    box-shadow:0 2px 18px rgba(0,0,0,.08);

    transition:.3s;

}

header.scrolled{

    box-shadow:0 8px 25px rgba(0,0,0,.12);

}

.header-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}


/*=========================================================
LOGO
=========================================================*/

.logo{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo img{

    height:100px;
    width: auto;

    transition:.3s;

}

.logo-text h1{

    font-size:40px;

    margin-bottom:4px;

}

.logo-text p{

    color:var(--secondary);

    font-size:18px;

    line-height:1.4;

    font-weight:700;

}

header.scrolled .logo img{

    width:70px;

}

header.scrolled .logo-text h1{

    font-size:18px;

}

header.scrolled .logo-text p{

    font-size:15px;

}


/*=========================================================
NAVIGATION
=========================================================*/

nav{

    border-top:1px solid var(--border);

}

.nav-menu{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:40px;

    padding:18px 0;

}

.nav-menu>li{

    position:relative;

}

.nav-menu>li>a,
.dropdown-toggle{

    display:flex;

    align-items:center;

    gap:8px;

    background:none;

    border:none;

    cursor:pointer;

    color:var(--primary);

    font-size:16px;

    font-weight:600;

    transition:var(--transition);

}

.nav-menu>li>a:hover,
.dropdown-toggle:hover{

    color:var(--secondary);

}

.nav-menu>li>a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.3s;

}

.nav-menu>li>a:hover::after,
.nav-menu>li>a.active::after{

    width:100%;

}

.menu-toggle{

    display:none;

    background:none;

    border:none;

    font-size:30px;

    color:var(--primary);

    cursor:pointer;

}

/*=========================================================
PRODUCT DROPDOWN
=========================================================*/

.dropdown{
    position:relative;
}

.dropdown-toggle i{
    font-size:13px;
    transition:transform .3s ease;
}

.dropdown.open .dropdown-toggle i{
    transform:rotate(180deg);
}

.dropdown-menu{

    position:absolute;

    top:calc(100% + 18px);
    left:0;

    min-width:260px;

    background:var(--white);

    border:1px solid var(--border);

    border-radius:12px;

    box-shadow:0 18px 40px rgba(0,0,0,.12);

    padding:12px 0;

    opacity:0;
    visibility:hidden;

    transform:translateY(15px);

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s;

    z-index:999;

}

.dropdown.open .dropdown-menu{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

}

.dropdown-menu li{

    width:100%;

}

.dropdown-menu a{

    display:block;

    padding:14px 22px;

    font-size:15px;

    font-weight:500;

    color:var(--primary);

    transition:var(--transition);

}

.dropdown-menu a:hover{

    background:#f7f7f7;

    color:var(--secondary);

    padding-left:28px;

}


/*=========================================================
HERO
=========================================================*/

.hero{

    position:relative;

    min-height:560px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    overflow:hidden;

    background:
    linear-gradient(rgba(11,31,58,.72),rgba(11,31,58,.72)),
    url("images/banner.jpg") center/cover no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(to bottom,
    rgba(0,0,0,.08),
    rgba(0,0,0,.20));

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:920px;

}

.hero-subtitle{

    display:inline-block;

    margin-bottom:25px;

    color:#fff;

    letter-spacing:3px;

    text-transform:uppercase;

    font-size:18px;

    font-weight:600;

}

.hero h2{

    color:#fff;

    font-size:45px;

    line-height:1.15;

    margin-bottom:30px;

}

.hero p{

    color:#f4f4f4;

    font-size:21px;

    line-height:1.9;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}


/*=========================================================
FEATURE CARDS
=========================================================*/

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.feature-card{

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

.feature-card img{

    width:100%;

    height:250px;

    object-fit:cover;

    transition:.45s;

}

.feature-card:hover img{

    transform:scale(1.05);

}

.feature-card-content{

    padding:30px;

}

.feature-card-content h3{

    margin-bottom:18px;

}

.feature-card-content p{

    line-height:1.8;

}


/*=========================================================
COLLECTION CARDS
=========================================================*/

.collection-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.collection-card{

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.collection-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

.collection-card img{

    width:100%;

    height:280px;

    object-fit:cover;

    transition:.45s;

}

.collection-card:hover img{

    transform:scale(1.05);

}

.collection-content{

    padding:30px;

}

.collection-content h3{

    margin-bottom:18px;

}

.collection-content p{

    margin-bottom:25px;

}


/*=========================================================
ICON CARDS
=========================================================*/

.icon-card{

    text-align:center;

    padding:40px 28px;

    border-radius:14px;

    background:#fff;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.icon-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

.icon-card img{

    width:75px;

    margin:0 auto 25px;

}

.icon-card h3{

    margin-bottom:15px;

}


/*=========================================================
STATISTICS
=========================================================*/

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.stat-card{

    text-align:center;

    padding:45px 25px;

    background:#fff;

    border-radius:14px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.stat-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.stat-card h2{

    color:var(--secondary);

    font-size:40px;

    margin-bottom:12px;

}

.stat-card p{

    font-weight:600;

    color:var(--primary);

}


/*=========================================================
COMMON HOVER EFFECT
=========================================================*/

.card,
.feature-card,
.collection-card,
.icon-card,
.stat-card{

    will-change:transform;

}

/*=========================================================
ABOUT SECTION
=========================================================*/

.about-image img{

    border-radius:14px;

    box-shadow:var(--shadow);

}

.about-content h3{

    margin-bottom:20px;

}

.about-content p{

    margin-bottom:20px;

    line-height:1.9;

}


/*=========================================================
IMAGE GALLERY
=========================================================*/

.image-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

}

.image-grid img{

    width:100%;

    border-radius:14px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.image-grid img:hover{

    transform:scale(1.04);

}


/*=========================================================
CERTIFICATION CARDS
=========================================================*/

.cert-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:30px;

}

.cert-card{

    background:#fff;

    border-radius:14px;

    text-align:center;

    padding:40px 30px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.cert-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

.cert-card img{

    width:85px;

    margin:0 auto 25px;

}

.cert-card h3{

    margin-bottom:15px;

}


/*=========================================================
CALL TO ACTION
=========================================================*/

.cta{

    background:linear-gradient(rgba(11,31,58,.95),rgba(11,31,58,.95));

    text-align:center;

    padding:90px 20px;

    color:#fff;

}

.cta h2{

    color:#fff;

    margin-bottom:20px;

}

.cta p{

    color:#f2f2f2;

    max-width:850px;

    margin:0 auto 40px;

    font-size:18px;

}


/*=========================================================
NEWSLETTER
=========================================================*/

.newsletter{

    margin-top:70px;

    padding-top:45px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

}

.newsletter h3{

    margin-bottom:15px;

}

.newsletter p{

    margin-bottom:25px;

}

.newsletter-form{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}

.newsletter-form input{

    width:350px;

    max-width:100%;

    padding:15px 20px;

    border:1px solid var(--border);

    border-radius:50px;

    font-size:16px;

    outline:none;

}

.newsletter-form input:focus{

    border-color:var(--secondary);

}


/*=========================================================
FOOTER
=========================================================*/

footer{

    background:var(--primary);

    color:#fff;

    padding:80px 0 35px;

}

footer h3{

    color:#fff;

    margin-bottom:20px;

}

footer p{

    color:#d7d7d7;

}

footer ul li{

    margin-bottom:12px;

}

footer a{

    color:#d7d7d7;

}

footer a:hover{

    color:var(--secondary);

}

.footer-bottom{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.12);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}


/*=========================================================
SOCIAL ICONS
=========================================================*/

.social-icons{

    display:flex;

    gap:14px;

    margin-top:20px;

}

.social-icons a{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    transition:var(--transition);

}

.social-icons a:hover{

    background:var(--secondary);

    color:#fff;

}


/*=========================================================
BACK TO TOP
=========================================================*/

.back-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:50px;

    height:50px;

    border-radius:50%;

    background:var(--secondary);

    color:#fff;

    display:none;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    box-shadow:var(--shadow);

    z-index:999;

    transition:var(--transition);

}

.back-top:hover{

    background:var(--secondary-dark);

    transform:translateY(-5px);

}


/*=========================================================
FADE-UP ANIMATION
=========================================================*/

.fade-up{

    animation:fadeUp .7s ease forwards;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*=========================================================
RESPONSIVE TABLET
=========================================================*/

@media(max-width:992px){

    .grid-2,
    .grid-3,
    .grid-4{

        grid-template-columns:1fr;

    }

    .hero h2{

        font-size:35px;

    }

    .hero p{

        font-size:19px;

    }

    .nav-menu{

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:#fff;

        display:none;

        flex-direction:column;

        padding:30px 0;

        box-shadow:0 12px 25px rgba(0,0,0,.12);

    }

    .nav-menu.show{

        display:flex;

    }

    .menu-toggle{

        display:block;

    }

    nav{

        position:relative;

    }

    .dropdown-menu{

        position:static;

        opacity:1;

        visibility:visible;

        transform:none;

        display:none;

        box-shadow:none;

        border:none;

        background:#f8f9fb;

        margin-top:10px;

    }

    .dropdown.open .dropdown-menu{

        display:block;

    }

}


/*=========================================================
RESPONSIVE MOBILE
=========================================================*/

@media(max-width:768px){

    .section{

        padding:70px 0;

    }

    .logo{

        gap:12px;

    }

    .logo img{

        width:65px;

    }

    .logo-text h1{

        font-size:17px;

    }

    .logo-text p{

        font-size:14px;

    }

    .hero{

        min-height:600px;

        padding:80px 0;

    }

    .hero h2{

        font-size:34px;

    }

    .hero p{

        font-size:17px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .btn{

        width:100%;

        max-width:320px;

    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;

    }

    .newsletter-form{

        flex-direction:column;

        align-items:center;

    }

}

