/* Global Styles & Variables */
:root {
    --primary-color: #E86A33;
    /* Orange from buttons/highlights */
    --secondary-color: #fffaf4;
    /* Light beige/cream background - lighter to match reference */
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --white: #FFFFFF;
    --dark-bg: #111827;
    /* Footer background */
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for sticky header */
}

body {
    font-family: var(--font-main);
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d55a22;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Header: Fixed is more reliable than sticky for mobile navbars */
header {
    padding: 1rem 0;
    position: fixed;
    /* Changed to fixed for absolute persistence */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    /* Try to match the Hindi looking font style roughly */
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #444;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: color 0.3s;
    position: relative;
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.cart-count.bump {
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    padding-top: 8.5rem;
    /* Increased for fixed header clearing on Desktop */
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 90vh;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.stat-item h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 30px 0 30px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.quality-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 10px 20px rgba(232, 106, 51, 0.4);
}

.quality-badge span {
    font-size: 2.5rem;
    font-weight: 800;
}

.organic-badge {
    position: absolute;
    bottom: 20px;
    left: -30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: 5rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 1rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.added-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.added-badge.show {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding: 1rem 0.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.price {
    color: var(--primary-color);
    font-weight: 800;
    /* Matching bolder theme */
    font-size: 1.2rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.add-cart-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: transparent;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-cart-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

.add-cart-btn.added {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
    transform: none;
}

.view-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.center-btn {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.about-stat {
    background: #FFF5EC;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
}

.about-stat h3 {
    font-size: 2rem;
    color: var(--text-dark);
}

.about-stat p {
    font-size: 0.8rem;
    margin: 0;
}

.about-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
}

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

.gallery-item:nth-child(1) {
    grid-row: span 2;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(90deg, #E65100 0%, #F9A825 100%);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    color: white;
    margin: 4rem 0;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-banner .btn {
    background: white;
    color: var(--primary-color);
}

/* Features */
.features {
    padding: 5rem 0;
    padding: 5rem 0;
    background: #FFFFFF;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #FFF5EC;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Contact */
.contact {
    padding: 5rem 0;
}

.contact-wrapper {
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #FFF5EC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.business-hours {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form-container {
    flex: 1;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: #fff;
    font-size: 1rem;
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #aaa;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #aaa;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive */

/* Hamburger Menu Text - Hidden by default (Desktop) */
.hamburger {
    display: none;
}

/* =========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================= */

/* Tablet (968px and below) */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding-top: 8rem;
        /* Increased to account for fixed header */
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-container {
        flex-direction: column;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-actions {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 2rem;
    }

    .hamburger {
        display: block;
        /* Show on mobile */
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1002;
    }

    /* Hide desktop header actions on mobile to prevent crowding */
    .header-actions .btn {
        display: none;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

/* Cart Page Styles */
.cart-page {
    padding: 3rem 0;
    min-height: 60vh;
}

.cart-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.cart-items {
    flex: 2;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #f9f9f9;
}

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

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.remove-btn {
    background: #fff0f0;
    color: #ff4444;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.remove-btn:hover {
    background: #ff4444;
    color: white;
}

.cart-summary {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    /* Make summary sticky */
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {

    /* Fix for Cart Page overlapping with fixed header on mobile */
    .cart-page {
        padding-top: 8.5rem;
    }

    .cart-container {
        flex-direction: column;
    }

    .cart-summary {
        width: 100%;
        position: static;
    }
}