/* Enhanced Theme Styles for Golden Elaichi */

/* Import this after style.css in HTML files */

/* Enhanced Color Variables */
:root {
    --gradient-gold: linear-gradient(135deg, #c9a961 0%, #e4c170 100%);
    --gradient-green: linear-gradient(135deg, #0D5F3A 0%, #147a4f 100%);
    --box-shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.12);
    --box-shadow-large: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Performance Optimizations */
img {
    loading: lazy;
    decoding: async;
}

.hero-image,
.product-image,
.feature-icon {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Enhanced Hero Image */
.hero-image img {
    border: 3px solid var(--secondary-light);
    box-shadow: var(--box-shadow-large);
}

/* Enhanced Cards */
.stat-item,
.feature-card,
.product-preview-card,
.packaging-option,
.material-option {
    background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--box-shadow-soft);
}

.stat-item:hover,
.feature-card:hover,
.product-preview-card:hover,
.packaging-option:hover,
.material-option:hover {
    box-shadow: var(--box-shadow-medium);
    border-color: var(--secondary-color);
}

/* Enhanced Buttons */
.btn-primary {
    background: var(--gradient-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--gradient-green);
    box-shadow: 0 4px 15px rgba(13, 95, 58, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(13, 95, 58, 0.4);
}

/* Enhanced Feature Icons */
.feature-icon {
    background: var(--gradient-gold);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

/* Enhanced Product Images */
.product-image img,
.product-preview-card img,
.packaging-option img,
.material-option img {
    transition: transform 0.3s ease;
}

.product-image:hover img,
.product-preview-card:hover img,
.packaging-option:hover img,
.material-option:hover img {
    transform: scale(1.05);
}

/* Enhanced CTA Section */
.cta-section {
    background: var(--gradient-green);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 10px;
    border: 2px solid var(--off-white);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Reduce hero float animation for better performance */
.hero-image img {
    animation: float 10s ease-in-out infinite;
}

/* Enhanced Stat Numbers */
.stat-number {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Section Headers */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* Loading Optimization */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Improved Focus States */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Enhanced Form Elements */
.contact-form input,
.contact-form textarea {
    border: 2px solid var(--border-light);
    background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Professional Touch */
.professional-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--box-shadow-medium);
    z-index: 100;
    animation: fadeInUp 0.5s ease;
}

/* Quality Indicators */
.quality-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--box-shadow-soft);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    :root {
        --box-shadow-soft: 0 3px 10px rgba(0, 0, 0, 0.08);
        --box-shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.12);
        --box-shadow-large: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    .hero-image img {
        animation: none;
    }
}
