/*
Theme Name: Amrit Chai Custom Styles
Description: Modern styling for Amrit Chai Ecommerce
*/

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Brand Colors */
    --primary-color: #D2691E; /* Warm Chai Brown */
    --primary-dark: #A0522D;
    --secondary-color: #2E8B57; /* Tea Leaf Green */
    --accent-color: #FF8C00;  /* Spices Orange */
    
    /* Backgrounds */
    --bg-color: #FAFAFA;
    --card-bg: #FFFFFF;
    
    /* Text */
    --text-main: #333333;
    --text-light: #666666;
    
    /* UI Elements */
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --bg-cream: #FDFBF7; /* Light Cream for Hero */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6, input, button, select, textarea, .woocommerce-loop-product__title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important; /* Extra Bold */
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Header Improvements */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-navigation .main-nav ul li a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Card Design (WooCommerce Products) */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce ul.products li.product {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product img {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    padding: 0 15px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.woocommerce ul.products li.product .price {
    padding: 0 15px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.woocommerce ul.products li.product .button {
    margin: 0 15px 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 12px 24px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
    border: none;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--primary-dark) !important;
    transform: scale(1.05);
}

/* Cart & Checkout Buttons */
.button.alt, .checkout-button {
    background-color: var(--secondary-color) !important;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
}

.button.alt:hover, .checkout-button:hover {
    background-color: #246e45 !important;
}

/* Global Footer */
.site-footer {
    background-color: #2c1810; /* Deep coffee brown */
    color: #e0e0e0;
}

.site-footer h2, .site-footer h3, .site-footer .widget-title {
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* Social Share Polish */
.wpjankari-social-sharing {
    border-radius: 50%; /* Make them circular */
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

/* Equal Height Feature Columns */
.wp-block-columns {
    align-items: stretch !important;
}

.wp-block-column {
    height: 100%;
    display: flex;
    flex-direction: column;
}
