/*
Theme Name: Toufa Ayurvedic Brand
Theme URI: 
Author: AI
Version: 6.0
Description: Premium Ayurvedic Brand and E-Commerce Layout matching the reference image.
*/
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-cream: #FDFCF7;
    --bg-light: #F6F4EB;
    --text-dark: #1A1A1A;
    --text-green: #113C22;
    --primary-green: #0E351C;
    --accent-gold: #B68C48;
    --border-color: #E2DFD3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-cream); color: var(--text-dark); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; color: var(--text-green); font-weight: 600; }
a { color: var(--primary-green); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--accent-gold); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-spacing { padding: 60px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 20px; }
.section-subtitle { color: #555; margin-bottom: 40px; font-size: 1.05rem; }

/* Top Bar */
.top-bar { background: var(--primary-green); color: #fff; font-size: 0.8rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-right { display: flex; align-items: center; gap: 15px; }
.top-right a { color: #fff; }
.top-right a:hover { color: var(--accent-gold); }
.top-socials { display: flex; gap: 10px; margin-left: 10px; }

/* Header Reset */
.site-header { background: #fff; padding: 15px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.header-logo { max-height: 50px; }
.main-nav ul { display: flex; gap: 25px; list-style: none; }
.main-nav a { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; color: var(--text-green); letter-spacing: 1px; }
.main-nav a:hover { color: var(--accent-gold); }
.header-actions { display: none; /* Hide default header actions for now */ }

/* Buttons */
.btn-solid-green { display: inline-block; background: var(--primary-green); color: #fff; padding: 12px 25px; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; transition: 0.3s; }
.btn-solid-green:hover { background: var(--accent-gold); color: #fff; }
.btn-outline-green { display: inline-block; border: 1px solid var(--primary-green); color: var(--primary-green); padding: 12px 25px; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; transition: 0.3s; }
.btn-outline-green:hover { background: var(--primary-green); color: #fff; }
.btn-outline-prod { display: inline-block; border: 1px solid var(--border-color); color: var(--text-green); padding: 8px 20px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 15px; border-radius: 4px; transition: 0.3s; }
.btn-outline-prod:hover { border-color: var(--primary-green); background: var(--primary-green); color: #fff; }

/* Brand Hero */
.brand-hero { background: var(--bg-light); padding: 60px 0; overflow: hidden; }
.hero-split { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; padding-right: 40px; }
.hero-subtitle { font-size: 0.8rem; font-weight: 700; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; display: inline-block; }
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; color: var(--primary-green); font-weight: 500; }
.hero-text { font-size: 1.05rem; color: #444; margin-bottom: 35px; line-height: 1.8; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 20px; font-size: 0.85rem; font-weight: 600; color: var(--text-green); }
.hero-badges span i { color: var(--accent-gold); margin-right: 5px; }
.hero-image { flex: 1; text-align: center; position: relative; }
.hero-image img { width: 100%; max-width: 600px; margin: 0 auto; object-fit: contain; }

@media (max-width: 900px) {
    .hero-split { flex-direction: column; text-align: center; }
    .hero-content { padding-right: 0; }
    .hero-actions { justify-content: center; }
    .hero-badges { justify-content: center; flex-wrap: wrap; }
}

/* Discover TOUFA */
.discover-toufa { background: #F2EFE6; padding: 60px 0; margin-top: -30px; border-radius: 30px 30px 0 0; position: relative; z-index: 2; }
.discover-inner { display: flex; gap: 60px; align-items: center; }
.discover-text { flex: 1; }
.discover-text h2 { font-size: 2rem; margin-bottom: 20px; }
.discover-text p { margin-bottom: 20px; color: #555; }
.discover-features { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.feature-item { text-align: center; }
.feature-icon { width: 70px; height: 70px; border: 1px solid var(--primary-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary-green); margin: 0 auto 15px; }
.feature-item h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; }

@media (max-width: 900px) { .discover-inner { flex-direction: column; text-align: center; } }

/* Explore Categories */
.category-grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.cat-box { background: #fff; border: 1px solid var(--border-color); padding: 30px 20px; text-align: center; transition: 0.3s; }
.cat-box:hover { border-color: var(--primary-green); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transform: translateY(-5px); }
.cat-box i { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 15px; }
.cat-box h3 { font-size: 1.1rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
.cat-box p { font-size: 0.85rem; color: #666; margin-bottom: 15px; line-height: 1.5; }
.cat-box a { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* Explore Products */
.product-grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--border-color); padding: 20px; text-align: center; transition: 0.3s; }
.product-card:hover { border-color: var(--primary-green); }
.prod-img { height: 220px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.prod-img img { max-height: 100%; object-fit: contain; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.product-card p { font-size: 0.85rem; color: #666; }

/* Why Choose TOUFA */
.why-choose-toufa { background: var(--primary-green); padding: 60px 0; color: #fff; }
.section-title-white { font-size: 2.2rem; margin-bottom: 40px; color: #fff; font-family: 'Lora', serif; font-weight: 500; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; text-align: left; }
.why-item { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 20px; }
.why-item:first-child { border-left: none; padding-left: 0; }
.why-item i { font-size: 2rem; color: var(--accent-gold); margin-bottom: 15px; }
.why-item h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 1.05rem; margin-bottom: 10px; }
.why-item p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

@media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .why-item { border-left: none; padding-left: 0; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 20px; text-align: center; }
}

/* Learn. Care. Grow. (Blog 1) */
.lcg-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.lcg-header p { color: #555; }
.blog-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card-large { border: 1px solid var(--border-color); padding: 15px; background: #fff; }
.blog-img { position: relative; height: 200px; margin-bottom: 15px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat { position: absolute; bottom: 10px; left: 10px; background: var(--primary-green); color: #fff; padding: 4px 10px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.blog-card-large h3 { font-family: 'Inter', sans-serif; font-size: 1.2rem; margin-bottom: 15px; line-height: 1.4; }
.read-article-link { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; color: #555; }

@media (max-width: 768px) { .lcg-header { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* Latest From TOUFA (Blog 2) */
.blog-grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.blog-card-small { border: 1px solid var(--border-color); padding: 10px; background: #fff; }
.blog-img-small { position: relative; height: 140px; margin-bottom: 15px; }
.blog-img-small img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat-small { position: absolute; bottom: 10px; left: 10px; background: #6DB3B8; color: #fff; padding: 2px 8px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.blog-card-small h4 { font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-meta-small { font-size: 0.8rem; color: #777; }

/* Stay Connected */
.stay-connected { background: var(--primary-green); padding: 40px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); }
.stay-connected-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.sc-left h3 { color: #fff; font-family: 'Inter', sans-serif; font-size: 1.5rem; margin-bottom: 10px; }
.sc-left p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.sc-right { flex: 1; max-width: 500px; }
.sc-form { display: flex; margin-bottom: 10px; }
.sc-form input { flex: 1; padding: 12px 15px; border: none; outline: none; }
.sc-form button { background: var(--accent-gold); color: #fff; border: none; padding: 12px 25px; font-weight: 700; cursor: pointer; }
.sc-privacy { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

@media (max-width: 768px) { .stay-connected-inner { flex-direction: column; text-align: center; } }

/* Footer override */
.site-footer { background: var(--bg-cream); color: #555; padding: 60px 0 20px; border-top: 1px solid var(--border-color); }
.footer-grid { display: flex; gap: 40px; margin-bottom: 40px; }
.footer-logo { max-height: 60px; margin-bottom: 20px; }
.footer-title { font-family: 'Inter', sans-serif; color: var(--text-green); font-size: 1.1rem; margin-bottom: 20px; font-weight: 700; border: none; padding: 0; }
.footer-col ul li a { color: #666; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--primary-green); }
.footer-bottom { background: var(--primary-green); color: rgba(255,255,255,0.7); padding: 15px 0; text-align: center; font-size: 0.8rem; margin: 0 -20px -20px; }
.footer-bottom a { color: #fff; margin-left: 15px; }

/* Hide mobile toggle if active */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: block; }
}
