/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary: #16a34a; /* Orgo Green */
    --primary-dark: #15803d;
    --accent: #ea580c; /* Meaty Orange */
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    padding-bottom: 80px;
}

/* --- HEADER --- */
header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
nav { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--primary); text-transform: uppercase; text-decoration: none; }
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 15px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 0.9rem; transition: 0.2s; }
nav a:hover { color: var(--primary); }

/* --- HERO --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?auto=format&fit=crop&w=1200&q=80');
    background-size: cover; background-position: center; color: white; text-align: center; padding: 60px 20px;
}
.hero h1 { font-size: 2.2rem; margin: 0 0 10px; line-height: 1.2; }
.hero p { font-size: 1rem; opacity: 0.9; }
/* --- HERO ENHANCEMENTS --- */
.hero {
    padding: 80px 20px !important; /* Increased padding for better focus */
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent); /* Highlight the main categories */
    margin-bottom: 20px;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay to make text pop against background image */
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-description p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
}

.hero-description strong {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 15px !important;
    }
    .hero-description p {
        font-size: 0.9rem;
    }
}


/* --- LAYOUT --- */
.container { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
.section-title { text-align: center; font-size: 1.8rem; margin: 30px 0 20px; color: var(--dark); }

/* --- FILTERS --- */
.category-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 25px; }
.filter-btn { background: white; border: 1px solid #ddd; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 0.9rem; transition: 0.2s; }
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* --- PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-3px); }
.product-img { width: 100%; height: 180px; object-fit: cover; background: #eee; }
.product-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.product-cat { color: var(--accent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.product-title { font-size: 1rem; margin: 5px 0; font-weight: 600; line-height: 1.3; }

/* Controls */
select.form-control { width: 100%; padding: 8px; margin-bottom: 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: #f8fafc; }
input.form-control, textarea.form-control { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; box-sizing: border-box; margin-bottom: 15px; }

button.add-btn { width: 100%; padding: 10px; background: var(--dark); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; }
button.add-btn:hover { background: var(--accent); }
button.add-btn:disabled { background: #cbd5e1; cursor: not-allowed; }

/* --- CART LIST --- */
.cart-list { display: flex; flex-direction: column; gap: 15px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; background: white; padding: 12px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.item-details { flex-grow: 1; margin-left: 15px; }
.item-name { font-weight: 600; color: var(--dark); }
.item-meta { font-size: 0.85rem; color: #64748b; }
.item-price { font-weight: 700; color: var(--primary); }

/* --- CHECKOUT SPECIFIC --- */
.address-card {
    background: white; padding: 20px; border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.bill-section {
    background: white; border-radius: 12px; padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 80px;
}
.bill-row {
    display: flex; justify-content: space-between; font-size: 0.9rem;
    color: #64748b; margin-bottom: 8px;
}
.bill-row.total {
    font-size: 1.1rem; font-weight: 700; color: var(--dark);
    border-top: 1px dashed #cbd5e1; padding-top: 10px; margin-top: 10px;
}
.delivery-free { color: var(--primary); text-decoration: line-through; margin-right: 5px; }

.checkout-footer {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: white; padding: 15px; box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; border-top: 1px solid #f1f5f9;
}
.pay-btn {
    background: var(--primary); color: white; border: none;
    padding: 12px 30px; border-radius: 8px; font-weight: 600; font-size: 1rem;
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    flex-grow: 1; justify-content: center;
    margin-left: 20px;
}
.total-label { font-size: 0.8rem; color: #64748b; text-transform: uppercase; font-weight: 600; }
.total-value { font-size: 1.2rem; font-weight: 700; color: var(--dark); }

/* --- FOOTER & WHATSAPP --- */
footer { background: var(--dark); color: white; padding: 40px 20px; margin-top: 60px; text-align: center; }
.footer-links a { color: #cbd5e1; margin: 0 10px; text-decoration: none; }
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 2px 4px 10px rgba(0,0,0,0.2); z-index: 2000; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

@media (min-width: 769px) {
    .checkout-footer { position: static; box-shadow: none; border: none; padding: 0; margin-top: 20px; }
    .pay-btn { width: 100%; margin-left: 0; }
}
@media (max-width: 768px) {
    .hero { padding: 50px 15px; }
    .hero h1 { font-size: 1.8rem; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-img { height: 130px; }
    .product-info { padding: 10px; }
    .product-title { font-size: 0.9rem; margin-bottom: 5px; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .product-cat { font-size: 0.65rem; }
    select.form-control { font-size: 0.8rem; padding: 4px; height: 32px; margin-bottom: 8px; }
    button.add-btn { padding: 8px; font-size: 0.85rem; }
    nav { padding: 12px 15px; }
    .logo { font-size: 1.2rem; }
}
/* --- VALUE PROPOSITION SECTION --- */
.value-proposition {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #edf2f7;
}

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

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

.value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.value-item p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .value-grid {
        gap: 20px;
    }
    .value-item {
        padding: 10px;
    }
}
/* --- HERO BUTTON & SCROLL --- */
html {
    scroll-behavior: smooth; /* Enables smooth scrolling to section */
}

.hero-btn {
    display: inline-block;
    background-color: #059669; /* Primary Green */
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #047857; /* Darker Green on Hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
