:root {
    /* Modern Premium Wellness Palette */
    --bg-color: #F5F0E6;
    --primary-color: #556B2F;
    --primary-hover: #3D4A2F;
    --dark-green: #3D4A2F;
    --accent-color: #7A5C3E;
    --text-main: #3D4A2F;
    --text-muted: #7A5C3E;
    --card-bg: rgba(255, 255, 255, 0.7);
    --border-color: rgba(85, 107, 47, 0.15);
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1ebd5a;

    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 8px 30px rgba(61, 74, 47, 0.04);
    --shadow-md: 0 15px 40px rgba(61, 74, 47, 0.08);
    --glass-blur: blur(20px);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo h2 {
    font-family: 'Lora', serif;
    color: var(--dark-green);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-color);
    background-image: radial-gradient(circle at 50% 0%, rgba(201, 147, 95, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(44, 85, 53, 0.05) 0%, transparent 50%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(250, 249, 246, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(200, 205, 200, 0.1);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background-color: rgba(250, 249, 246, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}



.logo h2 {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.nav-logo {
    height: 80px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo:hover .nav-logo {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* SPA Views */
.view {
    display: none;
    opacity: 0;
    min-height: 80vh;
    padding: 3rem 5%;
}

.view.active-view {
    display: block;
    animation: fadeInView 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInView {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.99);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Home View */
.hero {
    min-height: 65vh;
    height: auto;
    border-radius: 24px;
    background: linear-gradient(to right, rgba(250, 249, 246, 0.95), rgba(250, 249, 246, 0.3)), url('assets/premium_hero.png') center/cover;
    display: flex;
    align-items: center;
    padding: 5rem 6%;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.cta-btn {
    padding: 1.2rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(44, 85, 53, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
    border-radius: 50%;
}

.cta-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.cta-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 85, 53, 0.35), 0 0 20px rgba(85, 107, 47, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.secondary-btn {
    padding: 1.2rem 2.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(44, 85, 53, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 85, 53, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-md);
    border-color: rgba(44, 85, 53, 0.4);
}

.feature-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(44, 85, 53, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Health Benefits Infographic */
.benefits-infographic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 6rem;
}

.benefits-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    flex: 1;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(44, 85, 53, 0.4);
}

.benefit-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.8;
}

.benefit-item h3 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.benefits-center-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    position: relative;
}

.benefits-center-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    height: 550px;
}

@media (max-width: 992px) {
    .benefits-infographic {
        flex-direction: column;
    }

    .benefits-center-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .benefits-center-image img {
        height: 400px;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(5px);
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.3);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(61, 74, 47, 0.15);
    border-color: rgba(44, 85, 53, 0.4);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(85, 107, 47, 0.1);
}

.product-img-container {
    height: 320px;
    background-color: #f0ebe1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.product-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(245, 240, 230, 0.8), transparent);
    pointer-events: none;
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    background: var(--card-bg);
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
    line-height: 1.3;
}

.health-benefit {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.nutrition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.nutrition-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: rgba(85, 107, 47, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-info .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-info .price .unit {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.original-price {
    color: #999;
    font-size: 0.9rem;
    font-weight: normal;
    text-decoration: line-through;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.view-btn {
    padding: 0.8rem;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.product-card:hover .view-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(85, 107, 47, 0.2);
}

.whatsapp-btn-small {
    padding: 0.8rem;
    background-color: var(--whatsapp-color);
    border: 1px solid var(--whatsapp-color);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.whatsapp-btn-small::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>');
    background-size: cover;
}

.whatsapp-btn-small:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.6);
}

/* Product Detail */
.back-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
}

.detail-img-container {
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.detail-info .price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.detail-info .description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.order-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: var(--bg-color);
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #e9e8e2;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
}

.whatsapp-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--whatsapp-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.6);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-placeholder {
    height: 500px;
    background-color: #e2e0d7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
    overflow: hidden;
}

.about-image-placeholder img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image-placeholder:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Premium Footer */
.premium-footer {
    background-color: #F0EAE1;
    color: var(--text-main);
    padding: 6rem 5% 2rem;
    margin-top: 6rem;
    position: relative;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.footer-leaf-deco {
    position: absolute;
    top: -20px;
    right: 5%;
    opacity: 0.8;
    transform: rotate(15deg);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-section h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-brand-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.footer-links-section h4,
.footer-contact-section h4 {
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    font-family: 'Lora', serif;
}

.footer-links-section ul,
.footer-contact-section ul {
    list-style: none;
    padding: 0;
}

.footer-links-section li,
.footer-contact-section li {
    margin-bottom: 1rem;
}

.footer-links-section a,
.footer-contact-section a,
.footer-contact-section li {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-links-section a:hover,
.footer-contact-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom .copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Responsive */
/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Glassmorphism utility */
.feature-card,
.product-card,
.detail-container {
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: rgba(244, 241, 225, 0.95);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 3rem;
    }



    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 2rem;
        min-height: 50vh;
        height: auto;
        /* Uncomment the line below and add your mobile image path if you want a separate mobile image */
        /* background-image: linear-gradient(to bottom, rgba(250, 249, 246, 0.9), rgba(250, 249, 246, 0.4)), url('assets/mobile_hero.png'); */
    }

    .nav-logo {
        height: 55px;
        /* Slightly smaller on mobile to save space */
    }

    .detail-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .detail-img-container {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(44, 85, 53, 0.3);
    border-radius: 10px;
    border: 3px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Floating Leaves */
.floating-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    opacity: 0.6;
    animation: floatingLeaf 8s ease-in-out infinite;
}

@keyframes floatingLeaf {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) translateX(0);
    }

    25% {
        transform: translateY(-20px) rotate(15deg) translateX(10px);
    }

    50% {
        transform: translateY(0) rotate(30deg) translateX(20px);
    }

    75% {
        transform: translateY(20px) rotate(15deg) translateX(10px);
    }
}

.leaf-1 {
    top: 15%;
    left: 5%;
    width: 40px;
    animation-delay: 0s;
}

.leaf-2 {
    top: 40%;
    right: 8%;
    width: 50px;
    animation-delay: 2s;
}

.leaf-3 {
    top: 75%;
    left: 10%;
    width: 35px;
    animation-delay: 4s;
}


/* Farm Story */
.farm-story-section {
    margin-bottom: 6rem;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.story-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.story-image {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.story-container:hover .story-image img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .story-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .story-image img {
        height: 300px;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: rgba(44, 85, 53, 0.4);
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-card h4 {
    color: var(--dark-green);
    font-size: 1.1rem;
    font-weight: 600;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto 6rem auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(44, 85, 53, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Recipe Generator */
.recipe-generator-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.recipe-controls {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    align-self: start;
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.control-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.5);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23556B2F%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

.control-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.1);
}

.recipe-output-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-grow: 1;
    color: var(--primary-color);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(85, 107, 47, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.recipe-content-html h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.recipe-meta span {
    background: rgba(85, 107, 47, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    border-bottom: 2px solid rgba(85, 107, 47, 0.1);
    padding-bottom: 0.5rem;
}

.recipe-section ul,
.recipe-section ol {
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.recipe-section li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .recipe-generator-container {
        grid-template-columns: 1fr;
    }
}