/* ==================================================
   HOUSE OF GRATIA V4.1
   RESET
================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f7f4ee;
    color:#222;
    line-height:1.7;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.container{
    width:min(92%,1280px);
    margin:auto;
}

.narrow{
    max-width:900px;
    margin:auto;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1,h2,h3,h4{
    font-family:'Cormorant Garamond',serif;
    font-weight:700;
}

.section{
    padding:70px 0;
}

.section-heading{
    text-align:center;
    margin-bottom:60px;
}

.section-heading span{
    display:inline-block;
    color:#b58b2a;
    font-size:12px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.section-heading h2{
    font-size:54px;
    line-height:1.1;
    margin-bottom:15px;
}

.section-heading p{
    max-width:700px;
    margin:auto;
    color:#666;
}

.section-heading.light h2,
.section-heading.light p{
    color:#fff;
}

/* ==================================================
   HEADER
================================================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(10,25,18,.92);
    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(212,175,55,.15);
}

.header-inner{
    min-height:95px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    height:72px;
    width:auto;
}

.nav{
    display:flex;
    align-items:center;
    gap:32px;
}

.nav a{
    color:#f4efe6;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.nav a:hover{
    color:#d4af37;
}

/* ==================================================
   BUTTONS
================================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:15px 28px;

    border-radius:10px;

    font-weight:700;

    transition:.3s;
}

.btn-gold{
    background:#d4af37;
    color:#111;
}

.btn-gold:hover{
    transform:translateY(-3px);
}

.btn-outline{
    border:2px solid #d4af37;
    color:#fff;
}

.btn-outline:hover{
    background:#d4af37;
    color:#111;
}

/* ==================================================
   HERO V4
================================================== */

.hero{

    position:relative;

    min-height:760px;

    display:flex;
    align-items:center;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.85) 0%,
            rgba(0,0,0,.70) 22%,
            rgba(0,0,0,.35) 45%,
            rgba(0,0,0,.15) 100%
        ),
        url('../images/hero-v4-wide.jpg');

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.hero::before{

    content:"";

    position:absolute;
    inset:0;

    background:
        radial-gradient(
            circle at left center,
            rgba(212,175,55,.08),
            transparent 60%
        );
}

.hero-content{
    position:relative;
    z-index:2;

    max-width:520px;

    padding-top:120px;
    padding-bottom:120px;
}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    border:1px solid rgba(212,175,55,.45);

    border-radius:999px;

    color:#d4af37;

    font-size:12px;
    font-weight:700;

    letter-spacing:2px;

    margin-bottom:25px;
}

.hero h1{

    font-size:88px;

    line-height:.95;

    color:#fff;

    margin-bottom:15px;
}

.hero h2{

    font-size:56px;

    line-height:1.05;

    color:#d4af37;

    margin-bottom:25px;
}

.hero p{

    color:rgba(255,255,255,.88);

    font-size:20px;

    margin-bottom:40px;

    max-width:520px;
}

.hero-buttons{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

/* ==================================================
   ABOUT
================================================== */

.about{
    background:
        radial-gradient(
            circle at center,
            rgba(212,175,55,.08),
            transparent 80%
        ),
        #faf8f3;

    padding:70px 0;
}

/* =========================
   ABOUT PILLARS
========================= */

.about{

    background:
        radial-gradient(
            circle at center,
            rgba(212,175,55,.06),
            transparent 70%
        ),
        #faf8f3;
}

.about-pillars{

    margin-top:50px;

    display:grid;

    grid-template-columns:
        repeat(5,1fr);

    gap:0;
}

.pillar{

    text-align:center;

    padding:10px 25px 0;

    border-right:
        1px solid rgba(212,175,55,.18);
}

.pillar:last-child{
    border-right:none;
}

.pillar-icon{

    font-size:28px;

    margin-bottom:15px;

    color:#d4af37;
}

.pillar h3{

    font-size:18px;

    margin-bottom:10px;

    color:#111;
}

.pillar p{

    font-size:15px;

    color:#666;

    line-height:1.6;
}

.about .narrow{

    background:#ffffff;

    padding:50px;

    border-radius:20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}

.about h2{
    text-align:center;
    font-size:54px;
    margin-bottom:15px;
}

.about h2::after{
    content:"";
    display:block;

    width:80px;
    height:2px;

    background:#d4af37;

    margin:15px auto 0;
}

.about p{
    text-align:center;
    font-size:19px;
    color:#666;
    max-width:820px;
    margin:auto;
    line-height:1.7;
}

/* ==================================================
   FEATURED COLLECTION
================================================== */

.featured-collection{
    background:#f4efe6;
}

.featured-collection-card{

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

    background:#fff;

    padding:80px;

    border-radius:24px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.08);
}

.featured-image{
    text-align:center;
}

.featured-image img{

    max-height:520px;

    margin:auto;

    transition:.4s;
}

.featured-image img:hover{
    transform:translateY(-8px);
}

.featured-content h3{

    font-size:56px;

    margin-bottom:20px;

    color:#111;
}

.featured-content p{

    color:#666;

    font-size:18px;

    margin-bottom:35px;
}

/* ==================================================
   PRODUCTS
================================================== */

.products{
    background:#fff;
}

.product-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(260px,1fr));

    gap:30px;
}

.product-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    text-align:center;

    box-shadow:
        0 10px 35px rgba(0,0,0,.08);

    transition:.35s;
}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 18px 45px rgba(0,0,0,.12);
}

.product-card img{

    width:100%;

    height:320px;

    object-fit:contain;

    background:#faf8f3;

    padding:25px;
}

.product-card h3{

    font-size:28px;

    color:#111;

    margin:20px 20px 10px;
}

.product-card p{

    color:#777;

    margin-bottom:25px;
}

/* ==================================================
   COLLECTION PORTFOLIO
================================================== */

.collections{
    background:#f4efe6;
}

.collection-premium-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:24px;
}

.collection-premium-card{

    position:relative;

    min-height:520px;

    border-radius:22px;

    overflow:hidden;

    background-size:cover;
    background-position:center;

    transition:.4s;
}

.collection-premium-card:hover{

    transform:translateY(-10px);
}

.collection-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.85),
            rgba(0,0,0,.15)
        );
}

.collection-content{

    position:absolute;

    bottom:30px;
    left:25px;
    right:25px;

    z-index:2;

    color:#fff;
}

.collection-content h3{

    font-size:34px;

    margin-bottom:10px;
}

.collection-content p{

    font-size:15px;

    color:rgba(255,255,255,.9);
}

/* ==================================================
   PARTNERSHIP
================================================== */

.partnership{

    background:#0b1b14;

    color:#fff;
}

.partnership-grid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:30px;
}

.partner-card{

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(212,175,55,.15);

    border-radius:20px;

    padding:40px;

    transition:.35s;
}

.partner-card:hover{

    transform:translateY(-8px);

    border-color:#d4af37;
}

.partner-card.featured{

    border:2px solid #d4af37;

    transform:scale(1.03);
}

.partner-badge{

    display:inline-block;

    padding:8px 14px;

    background:
        rgba(212,175,55,.12);

    color:#d4af37;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    margin-bottom:20px;
}

.partner-card h3{

    font-size:34px;

    margin-bottom:15px;
}

.partner-card p{

    color:rgba(255,255,255,.8);
}

/* ==================================================
   ACADEMY
================================================== */

.academy{
    background:#fff;
}

.academy-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:25px;
}

.academy-card{

    background:#f8f4ec;

    border-radius:18px;

    padding:35px 25px;

    text-align:center;

    font-size:18px;

    font-weight:600;

    transition:.3s;
}

.academy-card:hover{

    transform:translateY(-6px);

    background:#efe7d8;
}

/* ==================================================
   CTA
================================================== */

.contact{

    background:
        linear-gradient(
            135deg,
            #10231a,
            #0a1711
        );

    color:#fff;

    text-align:center;
}

.contact h2{

    font-size:58px;

    margin-bottom:20px;
}

.contact p{

    max-width:700px;

    margin:0 auto 35px;

    color:rgba(255,255,255,.85);

    font-size:18px;
}

/* ==================================================
   FOOTER
================================================== */

.footer{

    background:#07110d;

    color:#bbb;

    text-align:center;

    padding:50px 0;
}

.footer h3{

    color:#fff;

    font-size:34px;

    margin-bottom:12px;
}

.footer p{

    margin-bottom:10px;
}

/* ==================================================
   PRODUCT DETAIL
================================================== */

.product-detail{

    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:70px;

    align-items:center;

    padding-top:120px;
}

.product-detail-image{

    background:#faf7f1;

    border-radius:24px;

    padding:50px;
}

.product-detail-image img{

    width:100%;

    max-height:700px;

    object-fit:contain;
}

.product-detail-content h1{

    font-size:64px;

    line-height:1;

    margin-bottom:20px;
}

.product-description{

    margin:25px 0;
}

.product-description p{

    color:#666;

    font-size:18px;

    line-height:1.8;
}

.product-meta{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:20px;

    margin:30px 0;
}

.product-meta div{

    background:#f5f1e8;

    border-radius:14px;

    padding:18px;
}

.product-features{

    display:flex;

    flex-wrap:wrap;

    gap:10px;
}

.feature-item{

    background:#f1eadf;

    border-radius:999px;

    padding:10px 16px;

    font-size:14px;

    font-weight:600;
}

.product-price{

    font-size:42px;

    font-weight:700;

    color:#b8860b;

    margin:30px 0;
}

/* ==================================================
   TABLET
================================================== */

@media(max-width:1200px){

    .hero h1{
        font-size:72px;
    }

    .hero h2{
        font-size:46px;
    }

    .section-heading h2{
        font-size:46px;
    }

    .collection-premium-grid{
        grid-template-columns:
        repeat(2,1fr);
    }

    .academy-grid{
        grid-template-columns:
        repeat(2,1fr);
    }

    .product-detail{
        gap:40px;
    }

    .product-detail-content h1{
        font-size:52px;
    }
}

/* ==================================================
   MOBILE
================================================== */

@media(max-width:768px){

    .header-inner{

        flex-direction:column;

        gap:15px;

        padding:15px 0;
    }

    .logo{
        height:60px;
    }

    .nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;
    }

    .hero{

        min-height:760px;

        background-position:70% center;
    }

    .hero-content{

        text-align:center;

        max-width:100%;
    }

    .hero h1{

        font-size:52px;
    }

    .hero h2{

        font-size:34px;
    }

    .hero p{

        margin-left:auto;
        margin-right:auto;

        font-size:17px;
    }

    .hero-buttons{

        justify-content:center;
    }

    .section{

        padding:80px 0;
    }

    .section-heading h2{

        font-size:38px;
    }

    .featured-collection-card{

        grid-template-columns:1fr;

        gap:30px;

        padding:35px;
    }

    .featured-content h3{

        font-size:38px;
    }

    .product-grid{

        grid-template-columns:1fr;
    }

    .collection-premium-grid{

        grid-template-columns:1fr;
    }

    .partnership-grid{

        grid-template-columns:1fr;
    }

    .partner-card.featured{

        transform:none;
    }

    .academy-grid{

        grid-template-columns:1fr;
    }

    .contact h2{

        font-size:42px;
    }

    .product-detail{

        grid-template-columns:1fr;

        gap:40px;
    }

    .product-detail-image{

        padding:30px;
    }

    .product-detail-content{

        text-align:center;
    }

    .product-detail-content h1{

        font-size:44px;
    }

    .product-meta{

        grid-template-columns:1fr;
    }

    .product-features{

        justify-content:center;
    }

    .product-price{

        font-size:36px;
    }

    .about-pillars{

    grid-template-columns:1fr;

    gap:20px;
}

.pillar{

    border-right:none;

    border-bottom:
        1px solid rgba(212,175,55,.15);

    padding-bottom:25px;
}

.pillar:last-child{
    border-bottom:none;
}
    
}
