/* ==========================================================================
   CSS Variables & Theme Setup - Exclusive Olive Theme
   ========================================================================== */
:root {
    /* Brand Colors - Olive & Earthy Shades */
    --primary-olive: #556B2F;        /* Rich Mid Olive Green */
    --dark-olive: #3B4D20;           /* Deep Forest Olive for hover/accents */
    --light-olive: #A3B18A;          /* Soft Olive for subtle highlights */
    --pale-olive: #F4F6F0;           /* Very light olive/off-white background */
    --muted-olive: #E5E8DF;          /* For borders/secondary backgrounds */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --text-main: #2A3022;            /* Deep Olive Charcoal (softer than black) */
    --text-muted: #5F6B50;           /* Muted Olive Gray */
    --border-color: #D6DCD0;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--pale-olive);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1;
}

/* ==========================================================================
   Buttons (Artistic Touches)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-olive);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark-olive);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 77, 32, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-olive);
    border: 1px solid var(--primary-olive);
}

.btn-secondary:hover {
    background-color: var(--primary-olive);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-olive);
    font-weight: 600;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--dark-olive);
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 0;
    letter-spacing: 0.5px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
}

.social-icons a {
    margin-left: 15px;
    opacity: 0.8;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--light-olive);
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 2px solid var(--muted-olive);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text {
    color: var(--text-main);
}

.logo-text .highlight {
    color: var(--primary-olive);
    font-style: italic;
}

/* Desktop Navigation */
.nav-list {
    display: flex;
    gap: 35px;
}

.nav-list li a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-olive);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after, .nav-list li a.active::after {
    width: 100%;
}

.nav-list li a:hover, .nav-list li a.active {
    color: var(--primary-olive);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 10;
    border-top: 3px solid var(--primary-olive);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    text-transform: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    letter-spacing: 0;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background-color: var(--pale-olive);
    color: var(--primary-olive);
    padding-left: 25px;
}

/* Search Bar */
.search-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    background: var(--pale-olive);
}

.search-form input {
    border: none;
    padding: 10px 20px;
    outline: none;
    width: 220px;
    background: transparent;
    font-family: var(--font-body);
}

.search-form button {
    background: transparent;
    color: var(--text-main);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    color: var(--primary-olive);
}

/* Actions */
.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.action-btn {
    font-size: 1.3rem;
    position: relative;
    color: var(--text-main);
}

.action-btn:hover {
    color: var(--primary-olive);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--primary-olive);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: bold;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Mobile Sidebar (Off-Canvas)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 5px 0 25px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(42, 48, 34, 0.7);
    z-index: 999;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--pale-olive);
    border-bottom: 1px solid var(--border-color);
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-search {
    padding: 20px;
}

.mobile-search .search-form {
    width: 100%;
    background: var(--white);
}

.mobile-search input {
    width: 100%;
}

.mobile-nav-list {
    padding: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list li a, .mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.mobile-dropdown-menu {
    display: none;
    background-color: var(--pale-olive);
}

.mobile-dropdown-menu li a {
    padding: 12px 20px 12px 35px;
    text-transform: none;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.sidebar-footer {
    margin-top: auto;
    padding: 30px 20px;
    background-color: var(--pale-olive);
    border-top: 1px solid var(--border-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
    border: none;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero-banner {
    height: 75vh;
    min-height: 550px;
    background: linear-gradient(rgba(42, 48, 34, 0.6), rgba(85, 107, 47, 0.4)), url('https://images.unsplash.com/photo-1610030469983-98e550d61dc0?w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 300;
}

/* Product Section */
.product-section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-olive);
    margin: 15px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(85, 107, 47, 0.15);
    border-color: var(--primary-olive);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--text-main);
    color: var(--white);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-badge {
    background-color: var(--primary-olive);
}

.product-info {
    padding: 25px 20px;
    text-align: center;
    background: var(--white);
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 500;
}

.product-price {
    color: var(--primary-olive);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--dark-olive), var(--primary-olive));
    color: var(--white);
    padding: 70px 20px;
    text-align: center;
}

.promo-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.promo-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Features */
.features-section {
    padding: 60px 20px;
    background-color: var(--white);
    margin-bottom: 60px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-olive);
    display: inline-block;
}

.feature-box h4 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.newsletter-section {
    background-color: var(--muted-olive);
    padding: 60px 20px;
    border-top: 2px solid var(--primary-olive);
}

.newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.newsletter-text h3 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 5px;
}

.newsletter-text p {
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 550px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-right: none;
    outline: none;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    border-color: var(--primary-olive);
}

.newsletter-form button {
    border-radius: 0;
}

.site-footer {
    background-color: var(--text-main);
    color: #D6DCD0;
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .highlight {
    color: var(--light-olive);
}

.footer-about {
    margin: 25px 0;
    line-height: 1.8;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    margin-right: 12px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-socials a:hover {
    background: var(--primary-olive);
    border-color: var(--primary-olive);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--light-olive);
    padding-left: 8px;
}

.footer-contact-info li {
    display: flex;
    margin-bottom: 18px;
    gap: 15px;
    line-height: 1.5;
}

.footer-contact-info i {
    color: var(--light-olive);
    margin-top: 3px;
}

.footer-bottom {
    background-color: #1E2318;
    padding: 25px 0;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 2rem;
    margin-left: 15px;
    color: #888;
    transition: var(--transition);
}

.payment-icons i:hover {
    color: var(--white);
}

/* ==========================================================================
   Media Queries (Mobile Responsiveness)
   ========================================================================== */
@media (max-width: 991px) {
    .hide-mobile {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input {
        border-right: 1px solid var(--border-color);
        margin-bottom: 10px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact-info li {
        justify-content: center;
    }
    .bottom-inner {
        flex-direction: column;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}