/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#2c2c2c;
    background:#fcfaf7;
    line-height:1.8;
    overflow-x:hidden;
    position:relative;
}

/* =========================
   SUBTLE BENGALI BACKGROUND
========================= */

body::before{

    content:"";

    position:fixed;

    inset:0;

    z-index:-2;

    opacity:.08;

    background:
    radial-gradient(circle at 15% 20%, rgba(139,0,0,.20), transparent 30%),
    radial-gradient(circle at 85% 25%, rgba(120,120,120,.15), transparent 35%),
    radial-gradient(circle at 40% 85%, rgba(139,0,0,.18), transparent 30%);

}

body::after{

    content:"";

    position:fixed;

    inset:0;

    z-index:-1;

    opacity:.04;

    background-image:

    repeating-linear-gradient(
        45deg,
        transparent,
        transparent 18px,
        rgba(139,0,0,.2) 19px,
        transparent 20px
    ),

    repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 18px,
        rgba(139,0,0,.15) 19px,
        transparent 20px
    );

}

/* =========================
   HEADER
========================= */

.header{

    position:sticky;
    top:0;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(12px);

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 7%;

    z-index:999;

    box-shadow:0 2px 12px rgba(0,0,0,.06);

}

.logo-container{

    display:flex;
    align-items:center;
    gap:12px;

}

.logo{

    width:58px;
    height:58px;
    object-fit:contain;

}

.brand-text h1{

    font-size:28px;
    font-weight:700;
    color:#7a0012;
    line-height:1.1;

}

.brand-text span{

    font-size:13px;
    color:#666;

}

nav{

    display:flex;
    gap:28px;

}

nav a{

    text-decoration:none;

    color:#333;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#7a0012;

}

/* =========================
   HERO
========================= */

.hero{

    min-height:88vh;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.45)
    ),
    url("assets/hero.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    padding:50px 20px;

}

.hero-content{

    max-width:900px;

}

.hero-content h2{

    color:white;

    font-size:60px;

    line-height:1.2;

    margin-bottom:25px;

}

.hero-content p{

    color:white;

    font-size:22px;

    max-width:760px;

    margin:auto auto 35px;

}

.hero-btn{

    display:inline-block;

    background:#7a0012;

    color:white;

    text-decoration:none;

    padding:15px 32px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;

}

.hero-btn:hover{

    transform:translateY(-2px);

}

/* =========================
   SECTIONS
========================= */

.section{

    padding:90px 7%;

}

.section-container{

    max-width:1100px;
    margin:auto;

}

.section h2{

    text-align:center;

    font-size:42px;

    color:#7a0012;

    margin-bottom:30px;

}

.section p{

    font-size:20px;

    text-align:center;

    max-width:900px;

    margin:auto auto 20px;

}

.section-subtitle{

    color:#666;

    margin-bottom:30px !important;

}

/* =========================
   HERITAGE & STORY
========================= */

.heritage,
.story{

    background:rgba(255,255,255,.55);

    backdrop-filter:blur(8px);

    border-radius:20px;

    margin:40px auto;

    width:min(1200px,92%);

}

/* =========================
   SEARCH
========================= */

.search-wrapper{

    margin-bottom:25px;

}

#searchInput{

    width:100%;

    padding:16px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

}

/* =========================
   FILTERS
========================= */

.filter-group,
.subcategory-group{

    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;

    margin-bottom:20px;

}

.filter-btn,
.subcategory-btn{

    border:none;

    padding:10px 18px;

    border-radius:50px;

    background:#ece7e2;

    cursor:pointer;

    font-weight:500;

    transition:.3s;

}

.filter-btn:hover,
.subcategory-btn:hover{

    background:#7a0012;
    color:white;

}

.active{

    background:#7a0012;
    color:white;

}

.hidden{

    display:none;

}

/* =========================
   PRODUCTS
========================= */

.product-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

    margin-top:40px;

}

.product-card{

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.product-card:hover{

    transform:translateY(-5px);

}

.product-card img{

    width:100%;
    height:320px;
    object-fit:cover;

}

.product-info{

    padding:20px;

}

.product-code{

    color:#7a0012;
    font-weight:700;

}

.product-name{

    font-size:20px;
    font-weight:600;
    margin:8px 0;

}

.product-price{

    font-size:22px;
    font-weight:700;

    margin:10px 0;

}

.add-btn{

    width:100%;

    border:none;

    background:#7a0012;

    color:white;

    padding:12px;

    border-radius:8px;

    cursor:pointer;

}

/* =========================
   ORDER SUMMARY
========================= */

.order-summary{

    background:white;

    padding:25px;

    border-radius:18px;

    margin-bottom:30px;

    box-shadow:0 4px 15px rgba(0,0,0,.06);

}

.order-summary h3{

    margin-bottom:15px;

    color:#7a0012;

}

.selected-item{

    display:flex;
    justify-content:space-between;

    margin-bottom:10px;

}

.total-box{

    display:flex;
    justify-content:space-between;

    border-top:1px solid #ddd;

    margin-top:20px;

    padding-top:20px;

    font-size:24px;
    font-weight:700;

}

/* =========================
   FORM
========================= */

.form-group{

    margin-bottom:15px;

}

.form-group input,
.form-group textarea{

    width:100%;

    border:1px solid #ddd;

    border-radius:10px;

    padding:14px;

    font-size:16px;

}

.submit-btn{

    width:100%;

    border:none;

    background:#7a0012;

    color:white;

    padding:16px;

    border-radius:10px;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

}

/* =========================
   CONTACT
========================= */

.contact-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

    margin-top:40px;

}

.contact-card{

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 4px 12px rgba(0,0,0,.06);

    text-align:center;

}

.contact-card h3{

    color:#7a0012;

    margin-bottom:10px;

}

.social-links{

    margin-top:40px;

    display:flex;
    justify-content:center;
    gap:25px;

}

.social-links a{

    text-decoration:none;

    color:#7a0012;

    font-weight:600;

}

/* =========================
   FOOTER
========================= */

footer{

    background:#7a0012;

    color:white;

    text-align:center;

    padding:35px 20px;

}

footer p{

    margin-bottom:8px;

}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

    .header{

        flex-direction:column;
        gap:15px;

    }

    nav{

        flex-wrap:wrap;
        justify-content:center;

    }

    .hero-content h2{

        font-size:42px;

    }

    .hero-content p{

        font-size:18px;

    }

    .section h2{

        font-size:34px;

    }

    .section p{

        font-size:18px;

    }

}

@media(max-width:600px){

    .hero-content h2{

        font-size:34px;

    }

    .hero-content p{

        font-size:17px;

    }

    .section{

        padding:70px 5%;

    }

}