/* ============================================
   BNM ENTERPRISES — Premium Spice Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Spice Inspired Color Palette */
    --saffron:      #e65100;
    --saffron-dark: #b23c00;
    --saffron-light:#ff983f;
    
    --turmeric:     #f5b041;
    --cardamom:     #2e4028;
    --clove:        #2d1b11;
    --cinnamon:     #8c4a32;
    
    --gold:         #d4af37;
    --white:        #ffffff;
    --off-white:    #fdfbf7;
    --light-bg:     #f6f4f0;
    
    --text-dark:    #1a100c;
    --text-mid:     #54453f;
    --text-light:   #8a7b74;
    
    --border:       #e8e0d5;
    
    /* Layout & Shadows */
    --shadow-sm:    0 4px 14px rgba(45, 27, 17, 0.06);
    --shadow-md:    0 10px 30px rgba(45, 27, 17, 0.1);
    --shadow-lg:    0 20px 50px rgba(45, 27, 17, 0.15);
    --shadow-hover: 0 25px 60px rgba(230, 81, 0, 0.15);
    
    --radius-sm:    8px;
    --radius:       16px;
    --radius-lg:    24px;
    
    --transition:   all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--clove);
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
[class*="col-"] { padding: 0 15px; }

/* Grid Helpers */
@media(min-width: 992px) {
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.333%; }
    .col-lg-5 { width: 41.666%; }
    .col-lg-6 { width: 50%; }
    .col-lg-7 { width: 58.333%; }
    .col-lg-8 { width: 66.666%; }
    .col-lg-12 { width: 100%; }
}
@media(min-width: 768px) {
    .col-md-4 { width: 33.333%; }
    .col-md-6 { width: 50%; }
    .col-md-12 { width: 100%; }
}

.text-center { text-align: center; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.d-flex { display: flex; }
.w-100 { width: 100%; }

/* ── Typography & Headings ── */
.spice-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--saffron);
    margin-bottom: 16px;
}
.spice-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--saffron);
    border-radius: 2px;
}
.spice-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--clove);
    margin-bottom: 24px;
}
.spice-title span {
    color: var(--saffron);
    position: relative;
}
.spice-desc {
    font-size: 18px;
    color: var(--text-mid);
    max-width: 700px;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--saffron), var(--cinnamon));
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(230, 81, 0, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 81, 0, 0.4);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: var(--clove);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover {
    border-color: var(--saffron);
    color: var(--saffron);
    background: rgba(230,81,0,0.05);
    transform: translateY(-3px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    color: var(--saffron);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--saffron);
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--saffron);
    color: #fff;
}

/* ── Topbar & Navbar ── */
.topbar {
    background: var(--clove);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 2px solid var(--saffron);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--saffron-light); }
.topbar i { color: var(--saffron); }

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 10px 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar-brand img { height: 60px; border-radius: var(--radius-sm); }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu li { position: relative; }
.nav-menu a {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--clove);
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--saffron);
    background: rgba(230,81,0,0.06);
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-contact { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--clove); }
.nav-contact i { color: var(--saffron); font-size: 20px; }

/* ── Hero Section ── */
.hero {
    position: relative;
    padding: 140px 0 180px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(45,27,17,0.9) 0%, rgba(45,27,17,0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
}
.hero-title {
    font-size: 64px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title span { color: var(--turmeric); }
.hero-desc {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-btns {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ── Stats Floating ── */
.stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 80px;
}
.stats-grid {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 0;
}
.stat-item {
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border: none; }
.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--saffron);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-mid);
}

/* ── About Section ── */
.about-section {
    padding: 80px 0;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-image img { width: 100%; display: block; }
.about-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--clove);
    color: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-card h3 { color: var(--turmeric); margin-bottom: 10px; font-size: 32px; }

.features-list { margin: 30px 0; }
.features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-dark);
}
.features-list i {
    width: 32px;
    height: 32px;
    background: rgba(230,81,0,0.1);
    color: var(--saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Services / Products ── */
.products-section {
    background: var(--light-bg);
    padding: 100px 0;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(230,81,0,0.2);
}
.product-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 176, 65, 0.15); /* Turmeric tinted bg */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--saffron);
    margin: 0 auto 24px;
    transition: var(--transition);
}
.product-card:hover .product-icon { background: var(--saffron); color: #fff; }

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    transition: transform 0.3s;
}
.product-card:hover .product-image {
    transform: scale(1.05);
}
.product-title {
    font-size: 20px;
    margin-bottom: 12px;
}
.product-desc {
    font-size: 15px;
    color: var(--text-mid);
}

/* ── Testimonials ── */
.testimonials-section { padding: 100px 0; }
.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin: 20px 10px;
}
.testimonial-text {
    font-size: 16px;
    color: var(--text-mid);
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--saffron);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
}
.testimonial-info h4 { font-size: 16px; margin: 0; color: var(--clove); }
.testimonial-info span { font-size: 13px; color: var(--text-light); }

/* ── Footer ── */
.footer {
    background: var(--clove);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}
.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 24px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: inherit; display: inline-block; transition: .2s; }
.footer-links a:hover { color: var(--turmeric); transform: translateX(5px); }

.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.social-links a:hover { background: var(--saffron); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ── 3D Effects / Parallax Utilities ── */
.parallax-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}
.tilt-element {
    transform: translateZ(50px);
}
.tilt-element-deep {
    transform: translateZ(100px);
}
.tilt-bg {
    transform: translateZ(-50px);
}
.floating-particle {
    position: absolute;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 10;
    opacity: 0.8;
}

/* ============================================
   HAMBURGER & MOBILE NAV
   ============================================ */

/* Mobile Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 27, 17, 0.55);
    z-index: 997;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.nav-overlay.active { display: block; }

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 1001;
}
.hamburger:hover { background: rgba(230, 81, 0, 0.08); }
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clove);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Gap utility */
.gap-4 { gap: 20px; }

/* ============================================
   TABLET BREAKPOINT (max-width: 991px)
   ============================================ */
@media (max-width: 991px) {

    /* Show hamburger */
    .hamburger { display: flex; }

    /* Mobile slide-in nav */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 290px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 20px 40px;
        box-shadow: -10px 0 60px rgba(45, 27, 17, 0.18);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        gap: 4px;
        overflow-y: auto;
    }
    .nav-menu.open { right: 0; }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 10px;
        width: 100%;
    }

    /* Hide desktop CTA in nav */
    .nav-actions { display: none; }

    /* Topbar stack */
    .topbar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 12px 24px;
    }
    .topbar .d-flex { justify-content: center; flex-wrap: wrap; gap: 12px !important; }

    /* Column collapse */
    .col-lg-3, .col-lg-4, .col-lg-5,
    .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-12 { width: 100%; }
    .offset-lg-1 { margin-left: 0; }

    /* Hero */
    .hero {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        background-attachment: scroll;
        padding: 80px 0 !important;
    }
    .hero-title  { font-size: 40px; }
    .hero-desc   { font-size: 17px; }
    .hero-btns   { flex-wrap: wrap; gap: 12px; }

    /* Typography */
    .spice-title { font-size: 34px; }
    .spice-desc  { font-size: 16px; }

    /* Stats grid — 2 columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 0;
    }
    .stat-item           { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 10px; }
    .stat-item:last-child,
    .stat-item:nth-child(3) { border-bottom: none; }
    .stats-bar           { margin-top: 0; margin-bottom: 40px; }

    /* Products grid — 2 columns */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Footer grid — 2 columns */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-bottom: 40px;
    }

    /* Section border radii */
    .products-section {
        border-top-left-radius:  30px;
        border-top-right-radius: 30px;
    }
    .footer {
        border-top-left-radius:  30px;
        border-top-right-radius: 30px;
        padding-top: 60px;
    }

    /* About image card */
    .about-image { margin-bottom: 60px; }
    .about-card  { right: 0; bottom: -20px; }

    /* Row item side margins */
    .row > [class*="col-"] { margin-bottom: 20px; }

    /* Process grid */
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-card:not(:last-child)::after { display: none; }

    /* Tips & Why grids */
    .tips-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid  { grid-template-columns: repeat(2, 1fr); }

    /* CTA */
    .cta-title    { font-size: 38px; }
    .cta-features { gap: 16px; flex-wrap: wrap; }

    /* General section padding scale */
    section[style*="padding: 100px"] { padding-top: 70px !important; padding-bottom: 70px !important; }
}

/* ============================================
   MOBILE BREAKPOINT (max-width: 576px)
   ============================================ */
@media (max-width: 576px) {

    /* Topbar hide on tiny screens */
    .topbar { display: none; }

    /* Navbar brand */
    .navbar-brand img { height: 48px; }

    /* Hero */
    .hero {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        padding: 70px 0 !important;
    }
    .hero-title { font-size: 28px; }
    .hero-desc  { font-size: 14px; }
    .hero-btns  { flex-direction: column; gap: 10px; }

    /* Slider arrows hide */
    .slider-arrow { display: none; }

    /* Typography */
    .spice-title { font-size: 26px; }
    .cta-title   { font-size: 26px; }

    /* Buttons */
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 13px 24px;
        font-size: 14px;
        justify-content: center;
    }

    /* Stats grid — 2 cols still */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-num   { font-size: 28px; }

    /* Products — 1 col */
    .products-grid { grid-template-columns: 1fr; }

    /* Footer — 1 col */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer {
        border-top-left-radius:  20px;
        border-top-right-radius: 20px;
        padding-top: 50px;
        padding-bottom: 20px;
    }

    /* Tips — 1 col */
    .tips-grid     { grid-template-columns: 1fr; }
    .why-grid      { grid-template-columns: 1fr; }
    .process-grid  { grid-template-columns: 1fr; }

    /* Products section radii */
    .products-section {
        border-top-left-radius:  20px;
        border-top-right-radius: 20px;
    }

    /* About card: inline below image */
    .about-card {
        position: relative;
        bottom: 0; right: 0;
        margin-top: 20px;
        border-radius: var(--radius);
    }

    /* Section padding */
    section[style*="padding: 100px"] { padding-top: 50px !important; padding-bottom: 50px !important; }
    section[style*="padding: 80px"]  { padding-top: 50px !important; padding-bottom: 50px !important; }
}
