/* CSS Variables - Minimalist & Organic Palette */
:root {
    --color-sage: #7D9070;
    --color-sage-light: #A5BA97;
    --color-cream: #F9F7F2;
    --color-terracotta: #A65D46;
    --color-terracotta-hover: #8F4C37;
    --color-dark: #2C3E2D;
    --color-text: #4A5D4E;
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-soft: 0 10px 30px rgba(44, 62, 45, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--color-white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--color-text);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-terracotta);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-terracotta-hover);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--color-sage);
    color: var(--color-sage);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--color-sage);
    color: var(--color-white);
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-terracotta);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0;
}

.btn-text:hover {
    color: var(--color-terracotta-hover);
    transform: translateX(4px);
}

.w-100 {
    width: 100%;
}

/* Navbar - Glassmorphism */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(249, 247, 242, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(249, 247, 242, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    mix-blend-mode: multiply; /* Helps transparent/white box logos blend with cream backgrounds */
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-outline) {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover {
    color: var(--color-sage);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--color-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('../images/hero_background.png');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(249, 247, 242, 0.4), rgba(249, 247, 242, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Trust Signals */
.trust-signals {
    background-color: var(--color-sage);
    color: var(--color-white);
    padding: 24px 0;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.trust-icon {
    width: 24px;
    height: 24px;
}

/* Categories Section */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.category-card {
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.cat-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-white);
    box-shadow: 0 8px 24px rgba(44, 62, 45, 0.08);
    transition: var(--transition);
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover .cat-image-wrapper {
    transform: translateY(-5px);
    border-color: var(--color-sage-light);
    box-shadow: 0 12px 30px rgba(125, 144, 112, 0.2);
}

.cat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .cat-image {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Bento Grid (Catalog) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bento-card {
    background: var(--color-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 62, 45, 0.12);
}

.card-img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #eae7df;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bento-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-content .benefit {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Ingredient Story */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 20px;
}

.story-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.story-list {
    list-style: none;
    margin: 24px 0 32px;
}

.story-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.story-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-sage);
    font-weight: bold;
}

.story-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.story-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Testimonial Slider */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 40px 60px;
}

.testimonial-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fade 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.stars {
    color: #f5b301;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.reviewer-loc, .review-meta {
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.8;
}

.review-meta {
    margin-top: 5px;
    font-weight: 500;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-sage-light);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    color: var(--color-terracotta);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.slider-dots {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #dcd8d0;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--color-sage);
}

@keyframes fade {
    from { opacity: 0.4; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: var(--color-cream);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand .logo {
    color: var(--color-cream);
    margin-bottom: 8px;
}

.footer-links-wrapper {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.footer-column a {
    transition: var(--transition);
    color: rgba(249, 247, 242, 0.8);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--color-sage-light);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(249, 247, 242, 0.6);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.6;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-sage);
    flex-shrink: 0;
    margin-top: 4px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 45, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--color-terracotta);
}

.modal-title {
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.modal-desc {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcd8d0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #faf9f7;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-sage);
    box-shadow: 0 0 0 3px rgba(125, 144, 112, 0.1);
}

/* Floating WhatsApp */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(0,0,0,0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story-image-placeholder {
        order: -1;
        min-height: 300px;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .trust-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
