/* Ezeekart Theme - Fresh & Organic Farm-to-Table Design */

:root {
    /* Ezeekart Brand Colors - Fresh & Natural */
    --primary-color: #2E7D4A;       /* Deep Green */
    --primary-light: #4CAF50;       /* Fresh Green */
    --primary-dark: #1B5E20;        /* Dark Forest Green */
    --secondary-color: #FF8F00;     /* Orange accent */
    --secondary-light: #FFB74D;     /* Light Orange */
    --accent-color: #8BC34A;        /* Light Green */
    --success-color: #4CAF50;       /* Success Green */
    --warning-color: #FF9800;       /* Warning Orange */
    --error-color: #F44336;         /* Error Red */
    
    /* Natural Earth Tones */
    --earth-brown: #6D4C41;         /* Soil Brown */
    --earth-light: #8D6E63;         /* Light Earth */
    --fresh-mint: #E8F5E8;          /* Mint Background */
    --organic-cream: #FFF8E1;       /* Cream White */
    
    /* Text Colors */
    --text-primary: #2C3E50;        /* Dark Blue-Gray */
    --text-secondary: #5D4037;      /* Brown Text */
    --text-light: #757575;          /* Gray Text */
    --text-white: #FFFFFF;          /* White Text */
    
    /* Background Colors */
    --bg-primary: #FFFFFF;          /* White Background */
    --bg-secondary: #F1F8E9;        /* Light Green Background */
    --bg-accent: #E8F5E8;           /* Mint Green Background */
    --bg-dark: #1B5E20;             /* Dark Green Background */
    
    /* Shadows and Effects */
    --shadow-light: 0 2px 8px rgba(46, 125, 74, 0.1);
    --shadow-medium: 0 4px 16px rgba(46, 125, 74, 0.15);
    --shadow-heavy: 0 8px 32px rgba(46, 125, 74, 0.2);
    
    /* Border Radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
    --radius-xl: 24px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Georgia', serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
}

/* Global Ezeekart Theme Styles */
.ezeekart-theme {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* Header Styles */
.ezeekart-header {
    background: linear-gradient(150deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ezeekart-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.ezeekart-header .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.ezeekart-header .header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.ezeekart-header .logo-link {
    display: flex;
    align-items: center;
}

.ezeekart-header .logo-link:hover .header-logo {
    transform: scale(1.05);
    background-color: #ffffff;
}

.ezeekart-header .brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ezeekart-header .brand-name {
    font-size: var(--font-size-2xl); /* Slightly smaller to accommodate logo */
    font-weight: 700;
    margin: 0;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.ezeekart-header .brand-tagline {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    font-weight: 300;
    margin-top: 2px;
}

.ezeekart-header .main-nav {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.ezeekart-header .nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-medium);
    transition: all 0.3s ease;
    position: relative;
}

.ezeekart-header .nav-link:hover,
.ezeekart-header .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.ezeekart-header .header-cta .cta-button {
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-large);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.ezeekart-header .header-cta .cta-button:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 74, 0.8) 0%, rgba(76, 175, 80, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
    color: var(--text-white);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--radius-large);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background-color: var(--secondary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.cta-button.secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--radius-small);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.feature-card {
    background-color: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--fresh-mint);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: transparent; /* Changed from gradient to transparent */
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Optional: Add a subtle border if you want some definition */
    /* border: 2px solid var(--fresh-mint); */
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* Optional: Add filter for better visibility if needed */
    /* filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); */
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--fresh-mint) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    align-items: center;
}

.about-text h3 {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.about-text h4 {
    font-size: var(--font-size-xl);
    color: var(--primary-dark);
    margin: var(--spacing-lg) 0 var(--spacing-md);
    font-weight: 600;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-primary);
}

.benefits-group {
    margin-bottom: var(--spacing-2xl);
}

.benefits-title {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
    border-left-color: var(--primary-color);
}

.benefit-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.benefit-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.benefit-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Categories Section */
.categories-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--fresh-mint) 0%, var(--bg-secondary) 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.category-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-info {
    padding: var(--spacing-lg);
}

.category-info h3 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.category-info p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.category-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-medium);
    transition: all 0.3s ease;
}

.category-link:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Call to Action Section */
.cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.ezeekart-footer {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: var(--spacing-sm);
}

.download-app {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-sm);
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.qr-code {
    width: 100px;
    height: 100px;
    background-color: white;
    padding: var(--spacing-xs);
    border-radius: var(--radius-small);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.1);
}

.qr-item span {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ezeekart-header .header-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .ezeekart-header .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .features-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
}