/* 
   GlowWithKamal CSS Variables & Core Design System
   Color Palette: Leaf Green, Gold, Soft Beige, Light Cream, White
*/

:root {
    --primary-green: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #52b788;
    --primary-pale: #e9f5ed;
    --accent-gold: #daa520;
    --accent-gold-dark: #b8860b;
    --bg-cream: #faf7f0;
    --bg-beige: #f4efe2;
    --text-dark: #2b2d42;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Glassmorphism Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
}

.glass-nav {
    background: rgba(27, 67, 50, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Header & Sticky Navbar */
.header-top {
    font-size: 0.85rem;
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    transition: var(--transition-smooth);
    padding: 0.8rem 0;
}

.navbar.sticky-top {
    box-shadow: var(--shadow-sm);
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold) !important;
}

/* Premium Buttons */
.btn-primary-green {
    background-color: var(--primary-green);
    color: var(--white);
    border: 1px solid var(--primary-green);
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
}

.btn-primary-green:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-gold {
    color: var(--accent-gold-dark);
    border: 2px solid var(--accent-gold);
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--accent-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 550px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(27,67,50,0.85), rgba(27,67,50,0.4));
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: var(--white);
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }
}

/* Section Decorator */
.section-title-wrapper {
    position: relative;
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title-wrapper h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-wrapper h2::after {
    content: '🍃';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    background-color: var(--bg-cream);
    padding: 0 10px;
}

.section-title-wrapper h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

/* Product Cards */
.product-card {
    background-color: var(--white);
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-img-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f7f7f7;
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 10;
}

.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.product-meta-item {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.product-meta-item strong {
    color: var(--primary-dark);
}

/* Ingredients Section */
.ingredient-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: none;
    overflow: hidden;
    height: 100%;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ingredient-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Stats Counter */
.counter-box {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent-gold);
}

.counter-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Testimonial slider styling */
.testimonial-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-left: 5px solid var(--accent-gold);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-pale);
}

/* FAQ Accordion */
.accordion-item {
    border-radius: 12px !important;
    overflow: hidden;
    border: none;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-pale);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: none;
}

/* Widget Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background-color: #25d366;
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    font-size: 28px;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

.click-to-call {
    position: fixed;
    bottom: 160px;
    right: 25px;
    background-color: var(--accent-gold);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    font-size: 24px;
    transition: var(--transition-smooth);
}

.click-to-call:hover {
    transform: scale(1.1);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--primary-green);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 998;
    font-size: 20px;
    transition: var(--transition-smooth);
    border: none;
}

.back-to-top:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    max-width: 600px;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    display: none;
}

@media (min-width: 768px) {
    #cookie-consent-banner {
        left: 30px;
        right: auto;
    }
}

/* Loading animation spinner */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid var(--primary-pale);
    border-bottom-color: var(--accent-gold);
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mega Footer */
.mega-footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    padding-top: 5rem;
}

.mega-footer h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    margin-bottom: 0.6rem;
}

.footer-link:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
}

.footer-bottom {
    background-color: #123023;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Form Styling */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(82, 183, 136, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
}
