/* =========================================
   ORGANIC STORE – Premium CSS
   ========================================= */

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

:root {
    /* Brand Colors */
    --green-primary:   #4a8c3f;
    --green-light:     #6cbf5c;
    --green-pale:      #e8f5e4;
    --green-accent:    #8bc34a;

    /* BackGround Colors */
    --bg-primary: rgba(255, 255, 255, 0.92);
    --bg-secondary: #111111;

    /* Neutrals */
    --text-dark:       #1a1a2e;
    --text-mid:        #4a5568;
    --text-light:      #9eaab8;
    --bg-cream:        #f8f6f2;
    --bg-white:        #ffffff;
    --border-light:    #e8ede8;

    /* Utility */
    --shadow-sm:  0 2px 8px rgba(74,140,63,0.08);
    --shadow-md:  0 8px 30px rgba(74,140,63,0.14);
    --shadow-lg:  0 16px 50px rgba(74,140,63,0.18);
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: #8bc34a;
    color: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--bg-cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   NAVBAR
   ========================================= */
#mainNavbar {
    background: var(--bg-primary);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: var(--transition);
}

#mainNavbar.scrolled {
    border-bottom-color: var(--border-light);   
    box-shadow: var(--shadow-sm);
}

/* Logo */
.logo-icon {
    width: 150px;
    transition: var(--transition);
}

.navbar-brand:hover .logo-icon {
    transform: rotate(-8deg) scale(1.05);
}

/* Nav links */
.navbar-nav .nav-link {
    color: var(--text-mid) !important;
    transition: var(--transition);
}


.navbar-nav .nav-link:hover {
    color: var(--green-primary) !important;
    font-weight: bold;
}

/* Cart total */
.cart-total {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-primary);
}

/* Cart & user buttons */
.btn-cart, .btn-user {
    width: 40px;
    height: 40px;
    color: var(--green-primary);
    font-size: 0.9rem;
}

.cart-badge {
    width: 18px;
    height: 18px;
    background: var(--green-primary);
}





/* =========================================
   Footer
   ========================================= */

.footer-dark {
    background: #0b0b0b;
}

.footer-title {
    font-weight: 700;
    letter-spacing: .2px;
}

.footer-desc {
    font-style: italic;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
}

.footer-links a {
    display: inline-block;
    padding: .15rem 0;
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: .25s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .15);
}

.footer-social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: .25s ease;
}

.footer-social:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .features-grid, .categories-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .trending-grid, .best-products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-container { gap: 2.5rem; }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 2rem 0;
    }
    .hero-content { max-width: 100%; width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats   { justify-content: center; }
    .hero-image-wrap { min-height: auto; width: 100%; margin-top: 2rem; }
    .hero-title { font-size: 2.2rem; }

    .products-grid, .categories-grid, .trending-grid, .best-products-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-card { flex-direction: column; gap: 2rem; text-align: center; }
    .banner-illustration { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .features-grid, .products-grid, .trending-grid, .best-products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 1.8rem; }
    .hero-image-bg { width: 100%; height: 100%; }
}
