/* Modern Green Natural Theme CSS */
:root {
    --primary-color: #2c5e3b; /* Deep natural green */
    --primary-light: #448b59;
    --secondary-color: #f7a630; /* Accent color, like turmeric/sun */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #f9fbf9;
    --white: #ffffff;
    --border-color: #e0e6e0;
    --success: #2c7a2c;
    --danger: #e74c3c;
    --font-family: 'Inter', 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-inner > div {
    display: flex;
    gap: 20px;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
    position: relative;
}

.search-bar form {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--primary-light);
    border-radius: 30px;
    font-family: var(--font-family);
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background: var(--primary-light);
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icon {
    position: relative;
    font-size: 22px;
    color: var(--primary-color);
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Navigation */
.header-nav {
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
}

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

.nav-list a {
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 94, 59, 0.2);
}

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

.btn-secondary:hover {
    background-color: #e59422;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Sections */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.product-layout {
    grid-template-columns: 1fr 1fr;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
}

.product-image {
    display: block;
    position: relative;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    margin-bottom: 20px;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-title a {
    color: var(--text-color);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-rating {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.sale-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.mrp-price {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
}

.btn-wishlist {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

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

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #1e3c27 0%, #2c5e3b 100%);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer-col ul li a {
    color: #d1e2d1;
    transition: var(--transition);
    display: inline-block;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .announcement-inner {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        font-size: 12px;
    }

    .hide-mobile {
        display: none !important;
    }
    
    .header-top {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .logo {
        flex: 1 1 auto;
    }
    
    .logo-text {
        font-size: 24px;
    }

    .header-icons {
        flex: 0 0 auto;
        gap: 12px;
    }
    
    .search-bar {
        order: 3;
        flex: 1 1 100%;
        margin: 0;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 24px;
        color: var(--primary-color);
        z-index: 1002;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        z-index: 1001;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
    }

    .header-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .nav-list li a {
        display: block;
        padding: 15px 25px;
        color: var(--text-color);
        font-weight: 500;
    }

    .nav-list li a:hover {
        background-color: var(--bg-color);
        color: var(--primary-color);
    }
    
    .hero {
        height: auto;
        min-height: 250px;
    }
    
    .hero-content {
        padding: 40px 20px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 15px;
    }

    .slider-card-mobile {
        width: calc(50vw - 30px) !important;
    }

    .yt-video-mobile {
        height: 200px !important;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
