/* Global Reset */
:root {
    --primary-color: #2e7d32; /* Earthy Green */
    --primary-dark: #1b5e20;
    --secondary-color: #fbc02d; /* Mustard Yellow */
    --accent-color: #795548; /* Brown */
    --bg-light: #fffde7; /* Very light cream/yellow tint */
    --white: #ffffff;
    --text-dark: #212121;
    --text-light: #757575;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
}

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: "Rozha One", serif; /* Optional serif for headings */
}

.section-header p {
    color: var(--text-light);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent-color);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(46, 125, 50, 0.1) 0%,
        rgba(251, 192, 45, 0.1) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.bagde {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: "Rozha One", serif;
}

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

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

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.delivery-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.delivery-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 400px;
    height: 400px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 10px solid rgba(255, 255, 255, 0.5);
}

.hero-illustration i {
    font-size: 150px;
    color: var(--primary-color);
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Products Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.wheat-bg {
    background-color: #fff3e0;
    color: #ff9800;
}
.rice-bg {
    background-color: #e3f2fd;
    color: #2196f3;
}
.pulses-bg {
    background-color: #f1f8e9;
    color: #7cb342;
}
.oil-bg {
    background-color: #fff8e1;
    color: #fbc02d;
}
.spice-bg {
    background-color: #ffebee;
    color: #e53935;
}
.veg-bg {
    background-color: #e8f5e9;
    color: #43a047;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 8px; /* Arrow animation */
}

/* Offers Section */
.offer-banner {
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.offer-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg) translateX(100px);
}

.offer-text {
    flex: 1;
    z-index: 1;
}

.offer-tag {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

.offer-text h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: "Rozha One", serif;
}

.offer-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.offer-visual {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    text-align: center;
    font-size: 200px;
    color: var(--primary-color);
    opacity: 0.1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-family: "Rozha One", serif;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.features-list i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #263238; /* Dark Blue-Grey often seen in Indian shop shutters */
    color: #eceff1;
    padding-top: 70px;
}

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

.footer h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col p {
    color: #b0bec5;
    margin-bottom: 20px;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

.footer-col ul li a {
    color: #b0bec5;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #b0bec5;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #78909c;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .nav-list.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header .btn {
        display: none; /* Hide Order Now button on mobile to save space */
    }

    .hero-container,
    .about-container,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .delivery-info {
        justify-content: center;
    }

    .features-list li {
        justify-content: center;
    }

    .offer-banner {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .offer-visual {
        margin-top: 20px;
        font-size: 80px;
    }

    .offer-text h2 {
        font-size: 2rem;
    }

    .offer-banner::before {
        display: none;
    }

    .footer-col nav {
        margin-bottom: 30px;
    }

    .contact-info li {
        justify-content: center;
    }
}

/* --- Inner Page Styles --- */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(27, 94, 32, 0.9)), url('https://placehold.co/1200x400/2E7D32/FFFFFF/png?text=Kirana+Store'); /* Placeholder for specific bg */
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3rem;
    font-family: 'Rozha One', serif;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--secondary-color);
}

/* Products Page */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.1);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #eee;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* About Page Specifics */
.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.story-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.story-text {
    flex: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.value-card {
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Responsive Adjustments for new pages */
@media (max-width: 768px) {
    .contact-container, .story-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
