/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #000000;
    --secondary: #666666;
    --bg-light: #f8f8f8;
    --border-color: #eeeeee;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans Bengali', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--primary);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.ms-3 { margin-left: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-dark {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #333333;
}

/* Top Bar */
.top-bar {
    background-color: #000;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact span i {
    margin-right: 5px;
}

/* Header */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo .subtitle {
    font-size: 9px;
    letter-spacing: 3px;
    color: #555;
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav ul li a {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    padding-bottom: 5px;
    position: relative;
    transition: var(--transition);
}

.main-nav ul li a:hover, .main-nav ul li a.active {
    color: #000;
}

.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 18px;
}

.header-icons a {
    color: #222;
    transition: var(--transition);
}

.header-icons a:hover {
    color: #666;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background-color: #f7f4ed; /* Based on image background */
    padding: 0; /* Updated padding for hero image size */
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    padding: 60px 0;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
}

.hero-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-self: stretch;
}

.hero-image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* Features */
.features-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
}

.feature-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-info p {
    font-size: 13px;
    color: #666;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title .line {
    width: 40px;
    height: 3px;
    background-color: #000;
    margin: 0 auto;
}

/* Categories */
.categories-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.cat-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transition: var(--transition);
}

.cat-icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
}

.category-item span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.category-item:hover .cat-icon-box {
    border-color: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-img {
    position: relative;
    height: 300px;
    background-color: #f9f9f9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 10;
}

.badge.dark {
    background-color: #000;
    color: #fff;
}

.badge.light {
    background-color: #fff;
    color: #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-content {
    padding: 15px;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price {
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #333;
}

.cart-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Promo Banner */
.promo-banner {
    background-color: #e2dfdb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    overflow: hidden;
}

.promo-content {
    flex: 1;
    padding: 60px 0;
}

.promo-sub {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 10px;
}

.promo-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.promo-text {
    font-size: 16px;
    margin-bottom: 25px;
}

.promo-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.promo-img img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
}

/* Why Choose Us */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.choose-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: var(--transition);
}

.choose-card:hover {
    border-color: #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.choose-card i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #222;
}

.choose-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.choose-card p {
    font-size: 13px;
    color: #666;
}

/* Instagram Section */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.insta-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

/* Footer */
.main-footer {
    background-color: #050505;
    color: #fff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: #fff;
}

.footer-logo .subtitle {
    color: #aaa;
}

.footer-desc {
    font-size: 13px;
    color: #aaa;
    margin: 15px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.social-links a:hover {
    background-color: #fff;
    color: #000;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 13px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-col p {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-col p i {
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .products-grid, .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        overflow-x: auto;
    }
    .main-nav ul {
        justify-content: center;
    }
    .hero-inner, .promo-banner {
        flex-direction: column;
        text-align: center;
    }
    .hero-image, .promo-img {
        margin-top: 30px;
        justify-content: center;
    }
    .features-grid {
        flex-direction: column;
    }
    .promo-banner {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .products-grid, .why-choose-grid {
        grid-template-columns: 1fr;
    }
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
