/* 
========================================================================
   SHIVAMMEDIX - PREMIUM AYURVEDIC HEALTHCARE DESIGN SYSTEM
   Author: Antigravity AI
   Technologies: CSS3, Variables, Keyframe Animations, Glassmorphism
========================================================================
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- Root Variables --- */
:root {
    /* Color Palette */
    --forest-green: #1B5E20;
    --herbal-green: #2E7D32;
    --primary-green: var(--herbal-green);
    --leaf-green: #43A047;
    --gold: #D4AF37;
    --gold-light: #F4D068;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --white: #FFFFFF;
    --light-cream: #FFFDF5;
    --earth-brown: #6D4C41;
    --earth-dark: #3E2723;
    --text-muted: #8D6E63;
    --border-color: rgba(46, 125, 50, 0.15);
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--forest-green) 0%, var(--herbal-green) 100%);
    --grad-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    --grad-soft-green: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(27, 94, 32, 0.02) 100%);
    --grad-glass: rgba(255, 255, 255, 0.85);
    --grad-dark-glass: rgba(62, 39, 35, 0.95);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(27, 94, 32, 0.05);
    --shadow-md: 0 10px 30px rgba(27, 94, 32, 0.1);
    --shadow-lg: 0 20px 40px rgba(27, 94, 32, 0.15);
    --shadow-gold: 0 10px 25px rgba(212, 175, 55, 0.3);
    --shadow-glow: 0 0 25px rgba(67, 160, 71, 0.35);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50px;
    
    /* Transitions */
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset & Scrollbar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-cream);
    background-image: linear-gradient(rgba(255, 253, 245, 0.88), rgba(255, 253, 245, 0.88)), url('ayurveda_background.png');
    background-attachment: fixed;
    background-size: 106% 106%;
    background-position: center center;
    color: var(--earth-brown);
    line-height: 1.6;
    overflow-x: hidden;
    animation: panBackground 80s infinite ease-in-out;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--herbal-green);
    border-radius: var(--radius-round);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--forest-green);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--earth-dark);
    font-weight: 700;
}

p {
    font-size: 1.05rem;
    color: var(--earth-brown);
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- Glassmorphism Elements --- */
.glass-header {
    background: rgba(255, 253, 245, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    z-index: 1030;
}

.glass-header.scrolled {
    background: rgba(27, 94, 32, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: var(--shadow-md);
}

/* --- Custom Premium Buttons --- */
.btn-premium {
    display: inline-block;
    vertical-align: middle;
    background: var(--grad-primary);
    color: var(--white) !important;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-round);
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-gold);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-premium:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
    color: var(--earth-dark) !important;
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium-outline {
    display: inline-block;
    vertical-align: middle;
    background: transparent;
    color: var(--herbal-green) !important;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: var(--radius-round);
    border: 2px solid var(--herbal-green);
    transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
    background: var(--herbal-green);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--grad-gold);
    color: var(--earth-dark) !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-gold);
    border: none;
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
}

/* --- Header Layout --- */
.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--forest-green);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--earth-brown) !important;
    padding: 8px 16px !important;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: var(--transition-fast);
    transform-origin: right;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover {
    color: var(--herbal-green) !important;
}

/* Scrolled Navbar Style */
.glass-header.scrolled .navbar-brand {
    color: var(--white);
}

.glass-header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.glass-header.scrolled .nav-link:hover {
    color: var(--gold-light) !important;
}

.glass-header.scrolled .nav-link::after {
    background-color: var(--gold-light);
}

/* --- Hero Section & Animations --- */
.hero-section {
    position: relative;
    padding: 180px 0 120px 0;
    background: radial-gradient(circle at 80% 20%, rgba(46, 125, 50, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--herbal-green);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(212, 175, 55, 0.25);
    z-index: -1;
    border-radius: var(--radius-sm);
}

/* Floating 3D Elements Area */
.hero-scene {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.rotating-element {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transform-style: preserve-3d;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Main Center Bowl Element */
.elem-bowl {
    width: 200px;
    height: 200px;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    z-index: 3;
    animation: floatBowl 12s infinite ease-in-out, glowPulse 4s infinite alternate;
}

/* Floating Leaf Element */
.elem-leaf {
    width: 120px;
    height: 120px;
    top: 20px;
    right: 40px;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    z-index: 2;
    animation: floatLeaf 10s infinite ease-in-out;
}

/* Floating Bottle Element */
.elem-bottle {
    width: 140px;
    height: 140px;
    bottom: 30px;
    left: 30px;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    z-index: 4;
    animation: floatBottle 11s infinite ease-in-out;
}

/* Floating Fire Pit Element */
.elem-fire {
    width: 110px;
    height: 110px;
    top: 50px;
    left: 70px;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    z-index: 2;
    animation: floatFire 9s infinite ease-in-out;
}

/* Floating Copper Decoction Pot Element */
.elem-pot {
    width: 120px;
    height: 120px;
    bottom: 50px;
    right: 70px;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    z-index: 3;
    animation: floatPot 13s infinite ease-in-out;
}

.rotating-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(62, 39, 35, 0.25)) drop-shadow(0 4px 10px rgba(46, 125, 50, 0.15));
    transition: var(--transition-smooth);
}

.rotating-element:hover img {
    filter: drop-shadow(0 20px 40px rgba(212, 175, 55, 0.45));
    transform: scale(1.08);
}

/* Sparkles */
.sparkle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: rotateSparkle 5s infinite linear;
}

.sparkle-1 { top: 15%; left: 20%; animation-duration: 4s; opacity: 0.6; }
.sparkle-2 { bottom: 25%; right: 15%; animation-duration: 6s; opacity: 0.8; }
.sparkle-3 { top: 60%; right: 40%; animation-duration: 5s; opacity: 0.5; }

/* Keyframes for Hero Animations & Panning Background */
@keyframes panBackground {
    0% { background-position: 50% 50%; background-size: 106% 106%; }
    50% { background-position: 52% 48%; background-size: 108% 108%; }
    100% { background-position: 50% 50%; background-size: 106% 106%; }
}

@keyframes floatBowl {
    0% { transform: translateY(0) rotateY(0deg) rotate(0deg); }
    50% { transform: translateY(-20px) rotateY(180deg) rotate(5deg); }
    100% { transform: translateY(0) rotateY(360deg) rotate(0deg); }
}

@keyframes floatLeaf {
    0% { transform: translateY(0) rotateY(0deg) rotate(0deg) scale(1); }
    50% { transform: translateY(-25px) rotateY(-180deg) rotate(-8deg) scale(1.03); }
    100% { transform: translateY(0) rotateY(-360deg) rotate(0deg) scale(1); }
}

@keyframes floatBottle {
    0% { transform: translateY(0) rotateY(0deg) rotate(0deg); }
    50% { transform: translateY(20px) rotateY(180deg) rotate(8deg); }
    100% { transform: translateY(0) rotateY(360deg) rotate(0deg); }
}

@keyframes floatFire {
    0% { transform: translateY(0) rotateY(0deg) scale(0.95); }
    50% { transform: translateY(-15px) rotateY(-180deg) scale(1.05); }
    100% { transform: translateY(0) rotateY(-360deg) scale(0.95); }
}

@keyframes floatPot {
    0% { transform: translateY(0) rotateY(0deg) rotate(0deg); }
    50% { transform: translateY(25px) rotateY(180deg) rotate(-6deg); }
    100% { transform: translateY(0) rotateY(360deg) rotate(0deg); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2); }
    100% { box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4), 0 0 15px rgba(212, 175, 55, 0.2); }
}

@keyframes rotateSparkle {
    0% { transform: rotate(0deg) scale(0.8); opacity: 0.4; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 1; }
    100% { transform: rotate(360deg) scale(0.8); opacity: 0.4; }
}

/* --- Section Formatting --- */
.section-padding {
    padding: 90px 0;
}

.bg-cream {
    background-color: var(--light-cream);
}

.bg-green-soft {
    background: var(--grad-soft-green);
}

.section-title-wrapper {
    margin-bottom: 50px;
}

.section-subtitle {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.6rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: var(--radius-sm);
}

.section-title-wrapper.text-start .section-title::after {
    left: 0;
    transform: translateX(0);
}

/* --- Premium Product Grid --- */
.product-card {
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--grad-primary);
    color: var(--white);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-round);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-img-wrapper {
    height: 260px;
    position: relative;
    background: radial-gradient(circle, rgba(255, 253, 245, 0.9) 0%, rgba(244, 240, 224, 0.5) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-img-wrapper img {
    height: 80%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--earth-dark);
}

.product-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.product-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.product-benefits li {
    font-size: 0.9rem;
    color: var(--earth-brown);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-benefits li i {
    color: var(--leaf-green);
    font-size: 0.8rem;
}

/* Hover Animations for Cards */
.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(67, 160, 71, 0.3);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

/* --- Features Section --- */
.feature-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(46, 125, 50, 0.05);
    height: 100%;
    transition: var(--transition-smooth);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px auto;
    transition: var(--transition-smooth);
}

.feature-icon-wrapper svg {
    width: 40px;
    height: 40px;
    fill: var(--herbal-green);
    transition: var(--transition-smooth);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.2);
}

.feature-box:hover .feature-icon-wrapper {
    background: var(--grad-primary);
}

.feature-box:hover .feature-icon-wrapper svg {
    fill: var(--white);
    transform: rotateY(180deg);
}

/* --- Testimonials Section --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: rgba(46, 125, 50, 0.08);
    font-family: serif;
}

.testimonial-rating {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--earth-brown);
    margin-bottom: 24px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.reviewer-name {
    font-weight: 700;
    color: var(--earth-dark);
    margin-bottom: 2px;
}

.reviewer-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- FAQ Accordions --- */
.faq-accordion .accordion-item {
    background: var(--white);
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--earth-dark);
    background: var(--white);
    padding: 20px 24px;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--herbal-green);
    background: rgba(46, 125, 50, 0.03);
}

.faq-accordion .accordion-button::after {
    filter: hue-rotate(80deg) saturate(2);
}

.faq-accordion .accordion-body {
    padding: 24px;
    background: var(--white);
    color: var(--earth-brown);
    border-top: 1px solid rgba(46, 125, 50, 0.08);
}

/* --- Product Details Page Layout --- */
.details-gallery {
    border-radius: var(--radius-md);
    background: radial-gradient(circle, rgba(255, 253, 245, 0.9) 0%, rgba(244, 240, 224, 0.5) 100%);
    border: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.details-gallery img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
}

.details-price {
    font-size: 2rem;
    color: var(--herbal-green);
    font-weight: 800;
    margin: 15px 0;
}

.details-meta-pill {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-round);
}

.details-tab-nav {
    border-bottom: 2px solid var(--border-color);
}

.details-tab-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    border: none !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    padding: 12px 24px !important;
}

.details-tab-nav .nav-link.active {
    color: var(--herbal-green) !important;
    position: relative;
}

.details-tab-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--herbal-green);
}

.reviews-summary {
    background: rgba(46, 125, 50, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
}

.review-star-rating {
    font-size: 1.5rem;
    color: var(--gold);
}

/* --- Search & Category Controls --- */
.catalog-controls {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.filter-btn {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--earth-brown);
    padding: 8px 18px;
    border-radius: var(--radius-round);
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--herbal-green);
    color: var(--white);
    border-color: var(--herbal-green);
    box-shadow: var(--shadow-sm);
}

/* --- Contact & Inquiry Forms --- */
.contact-info-card {
    background: var(--grad-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-card h3 {
    color: var(--white);
}

.contact-info-card::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.premium-input {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--earth-dark);
    transition: var(--transition-fast);
}

.premium-input:focus {
    outline: none;
    border-color: var(--herbal-green);
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.15);
}

/* --- Blog Card --- */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--earth-dark);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-round);
    z-index: 2;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.06);
}

/* --- Footer Area --- */
.premium-footer {
    background: var(--earth-dark);
    color: #FFFDF5 !important;
    padding: 80px 0 25px 0;
    position: relative;
    border-top: 4px solid var(--gold);
}

.premium-footer p, 
.premium-footer span:not(.logo-accent), 
.premium-footer div,
.premium-footer li {
    color: rgba(255, 255, 255, 0.82) !important;
}

.premium-footer .text-secondary {
    color: rgba(255, 255, 255, 0.6) !important;
}

.premium-footer .logo-text {
    color: var(--white) !important;
}

.premium-footer .logo-accent {
    color: var(--gold) !important;
}

.premium-footer a:not(.btn) {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
}

.premium-footer a:not(.btn):hover {
    color: var(--gold) !important;
    text-decoration: underline !important;
}

.premium-footer .btn-outline-success {
    border: 2px solid var(--leaf-green) !important;
    color: var(--leaf-green) !important;
    background: transparent !important;
}

.premium-footer .btn-outline-success:hover {
    background: var(--leaf-green) !important;
    color: var(--white) !important;
}

.premium-footer .bi-geo-alt-fill,
.premium-footer .bi-whatsapp {
    color: var(--gold) !important;
}

.premium-footer h5 {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.premium-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--gold) !important;
    padding-left: 6px;
}

/* Social Icon Hover Colors */
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition-fast);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--white);
}

.social-icon.facebook:hover { background-color: #1877F2; }
.social-icon.instagram:hover { background-color: #E4405F; }
.social-icon.youtube:hover { background-color: #FF0000; }
.social-icon.linkedin:hover { background-color: #0A66C2; }

/* --- AEO Direct Answers Styling --- */
.aeo-section {
    background: var(--white);
    border-left: 4px solid var(--herbal-green);
    padding: 30px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.aeo-question {
    font-size: 1.6rem;
    color: var(--forest-green);
    margin-bottom: 12px;
}

.aeo-answer {
    font-size: 1.05rem;
    color: var(--earth-brown);
    margin-bottom: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-scene {
        height: 380px;
    }
    .elem-bowl { width: 150px; height: 150px; }
    .elem-leaf { width: 90px; height: 90px; top: 15px; right: 30px; }
    .elem-bottle { width: 110px; height: 110px; bottom: 20px; left: 20px; }
    .elem-fire { width: 80px; height: 80px; top: 40px; left: 50px; }
    .elem-pot { width: 90px; height: 90px; bottom: 30px; right: 50px; }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 130px 0 70px 0;
        text-align: center;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-scene {
        height: 300px;
        margin-top: 40px;
    }
    .elem-bowl { width: 120px; height: 120px; }
    .elem-leaf { width: 75px; height: 75px; top: 10px; right: 20px; }
    .elem-bottle { width: 90px; height: 90px; bottom: 15px; left: 15px; }
    .elem-fire { width: 65px; height: 65px; top: 30px; left: 30px; }
    .elem-pot { width: 75px; height: 75px; bottom: 25px; right: 30px; }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .btn-premium, .btn-premium-outline, .btn-gold {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* --- Language Toggle Button Styles --- */
#langToggleBtn {
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--earth-brown);
    font-weight: 600;
    transition: var(--transition-fast);
}

#langToggleBtn:hover {
    background-color: var(--herbal-green);
    color: var(--white);
    border-color: var(--herbal-green);
}

.glass-header.scrolled #langToggleBtn {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-header.scrolled #langToggleBtn:hover {
    background-color: var(--gold-light);
    color: var(--earth-dark);
    border-color: var(--gold-light);
}

/* --- Empty Cart Styling Fallbacks --- */
#cartEmptyLayout i.bi-cart,
#cartEmptyLayout svg.bi-cart {
    font-size: 5rem !important;
    color: var(--earth-brown) !important;
    opacity: 0.3;
    display: inline-block;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
}

/* --- Premium Footer Visibility & Offline Overrides --- */
.premium-footer,
.premium-footer p,
.premium-footer span:not(.logo-accent),
.premium-footer div,
.premium-footer li,
.premium-footer small {
    color: #FFFDF5 !important;
}

/* Make secondary/muted text and descriptions readable in the footer */
.premium-footer .text-secondary,
.premium-footer .text-muted,
.premium-footer p.text-secondary,
.premium-footer span.text-secondary,
.premium-footer a.text-secondary,
.premium-footer .footer-link {
    color: rgba(255, 253, 245, 0.75) !important;
}

/* Robust styling for all footer links */
.premium-footer a {
    color: #FFFDF5 !important;
    text-decoration: none !important;
}

.premium-footer a:not(.btn) {
    opacity: 0.85;
    transition: var(--transition-fast);
}

.premium-footer a:not(.btn):visited {
    color: #FFFDF5 !important;
}

.premium-footer a:not(.btn):hover {
    color: var(--gold-light) !important;
    opacity: 1;
    text-decoration: underline !important;
}

/* Offline fallback for WhatsApp button and outlines in the footer */
.premium-footer .btn-outline-success,
.premium-footer a.btn-outline-success {
    border: 2px solid var(--gold) !important;
    color: var(--gold) !important;
    background: transparent !important;
    border-radius: var(--radius-round);
    padding: 8px 24px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.premium-footer .btn-outline-success:hover,
.premium-footer a.btn-outline-success:hover {
    background: var(--gold) !important;
    color: var(--earth-dark) !important;
    box-shadow: var(--shadow-gold);
}

/* Offline fallback for standard outline success buttons globally */
.btn-outline-success {
    border: 2px solid var(--herbal-green) !important;
    color: var(--herbal-green) !important;
    background: transparent !important;
    border-radius: var(--radius-round);
    padding: 8px 20px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-outline-success:hover {
    background: var(--herbal-green) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-sm);
}

/* Centering and layout adjustments for empty cart */
#cartEmptyLayout {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#cartEmptyLayout .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

#cartEmptyLayout svg.bi-cart {
    width: 90px;
    height: 90px;
    color: var(--herbal-green) !important;
    opacity: 0.8;
    margin: 0 auto 24px auto;
    display: block;
}


