:root {
    /* Color Palette: Warm Organic Earth & Healthy Food Tones */
    --color-walnut-dark: #1A0F0A;     /* Primary dark bg, nutshell color */
    --color-walnut-medium: #2C1A12;   /* Intermediate brown background */
    --color-peanut-red: #8B3E2F;      /* Terracotta / Peanut skin accent */
    --color-almond-warm: #B07E58;     /* Warm Almond tan / Primary button */
    --color-almond-light: #D1A884;    /* Light Almold hover accent */
    --color-cashew-light: #FDF9F2;    /* Pure creamy content text */
    --color-cashew-mid: #EADCB9;      /* Cashew cream secondary text */
    --color-brand-green: #226F43;     /* Leaf green to match wholesale brand */
    --color-brand-green-hover: #195431;
    --color-border-glass: rgba(253, 249, 242, 0.08);
    --color-bg-glass: rgba(26, 15, 10, 0.65);
    --color-bg-glass-card: rgba(44, 26, 18, 0.6);
    
    --font-main: 'Outfit', sans-serif;
    --header-height: 80px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-walnut-dark);
    color: var(--color-cashew-light);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-walnut-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-walnut-medium);
    border-radius: 5px;
    border: 2px solid var(--color-walnut-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-almond-warm);
}

/* Preloader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-walnut-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(253, 249, 242, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-almond-warm);
    animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    margin-bottom: 20px;
}

#loader p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-cashew-mid);
    letter-spacing: 1px;
}

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

/* Canvas background container (Always Fixed) */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Subtle opacity to merge with deep walnut background */
}

/* Navigation Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 999;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.glass-header.scrolled {
    background-color: var(--color-bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 70px;
    border-bottom: 1px solid var(--color-border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: var(--transition-smooth);
}

.glass-header.scrolled .nav-logo {
    height: 40px;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--color-cashew-mid);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-cashew-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-almond-warm);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.btn-primary-nav {
    background-color: var(--color-brand-green);
    color: var(--color-cashew-light);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(34, 111, 67, 0.25);
}

.btn-primary-nav:hover {
    background-color: var(--color-brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 111, 67, 0.4);
}

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.mobile-nav-toggle:hover {
    background-color: rgba(253, 249, 242, 0.05);
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-cashew-light);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Navigation Dropdown */
.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-walnut-medium);
    border-bottom: 1px solid var(--color-border-glass);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-link {
    color: var(--color-cashew-mid);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(253, 249, 242, 0.03);
    transition: var(--transition-smooth);
}

.mobile-link:hover {
    color: var(--color-cashew-light);
    padding-left: 8px;
}

.mobile-btn {
    text-align: center;
    background-color: var(--color-brand-green);
    color: var(--color-cashew-light);
    text-decoration: none;
    font-weight: 600;
    padding: 12px;
    border-radius: 50px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(34, 111, 67, 0.25);
    transition: var(--transition-smooth);
}

.mobile-btn:hover {
    background-color: var(--color-brand-green-hover);
}

/* General Layout Elements */
#main-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    min-height: 100vh;
    padding: 120px 0 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-card {
    background: var(--color-bg-glass-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    padding: 48px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(253, 249, 242, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Reusable Section Typography Elements */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-almond-warm);
    margin-bottom: 16px;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-cashew-light);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--color-cashew-mid);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 0.8px;
    transition: var(--transition-smooth);
    min-height: 48px; /* Safe touch targets */
}

.btn-primary {
    background-color: var(--color-almond-warm);
    color: var(--color-walnut-dark);
    box-shadow: 0 8px 25px rgba(176, 126, 88, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-almond-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(176, 126, 88, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-cashew-light);
    border: 2px solid var(--color-peanut-red);
    box-shadow: 0 8px 25px rgba(139, 62, 47, 0.05);
}

.btn-secondary:hover {
    background-color: rgba(139, 62, 47, 0.15);
    border-color: var(--color-cashew-light);
    transform: translateY(-3px);
}

/* Animation trigger utility classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Hero Section */
.hero-section {
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.hero-content {
    max-width: 800px;
    margin-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(176, 126, 88, 0.1);
    border: 1px solid rgba(176, 126, 88, 0.2);
    color: var(--color-cashew-mid);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--color-almond-warm);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-cashew-light);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-section .highlight {
    background: linear-gradient(135deg, var(--color-almond-warm), var(--color-cashew-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-cashew-mid);
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 2. About Us Section */
.info-section {
    align-items: flex-start;
}

.info-section .text-block {
    max-width: 600px;
}

.info-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-cashew-light);
}

.info-section p {
    font-size: 1.05rem;
    color: var(--color-cashew-mid);
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border-glass);
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    background-color: rgba(176, 126, 88, 0.1);
    color: var(--color-almond-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--color-cashew-mid);
    line-height: 1.4;
    margin-bottom: 0;
}

/* 3. Products Section */
.products-section {
    align-items: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.category-card {
    padding: 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

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

.category-card .card-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(176, 126, 88, 0.1);
    color: var(--color-almond-warm);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.category-card:hover .card-icon {
    background-color: var(--color-almond-warm);
    color: var(--color-walnut-dark);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-cashew-light);
}

.category-card p {
    font-size: 0.95rem;
    color: var(--color-cashew-mid);
    flex-grow: 1;
    line-height: 1.5;
}

.products-cta {
    margin-top: 56px;
    text-align: center;
}

.products-cta p {
    font-size: 1.1rem;
    color: var(--color-cashew-mid);
    margin-bottom: 20px;
    font-weight: 500;
}

/* 4. Benefits Section */
.benefits-section {
    align-items: flex-end; /* Align to the right so it offsets beautifully */
}

.benefits-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.benefits-text {
    max-width: 650px;
}

.benefits-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.benefits-text p {
    font-size: 1.05rem;
    color: var(--color-cashew-mid);
    margin-bottom: 32px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-almond-warm);
    opacity: 0.8;
    background-color: rgba(176, 126, 88, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(176, 126, 88, 0.15);
}

.benefit-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-cashew-light);
}

.benefit-info p {
    font-size: 0.95rem;
    color: var(--color-cashew-mid);
    margin-bottom: 0;
    line-height: 1.5;
}

.benefits-button {
    text-align: left;
}

/* 5. Contact Section */
.contact-section {
    justify-content: flex-start;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 32px;
    width: 100%;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--color-cashew-mid);
    margin-bottom: 32px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--color-almond-warm);
    width: 24px;
    margin-top: 4px;
    display: flex;
    justify-content: center;
}

.contact-detail h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-cashew-light);
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--color-cashew-mid);
    margin-bottom: 0;
    line-height: 1.4;
}

.contact-link {
    color: var(--color-cashew-mid);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: var(--color-almond-warm);
    text-decoration: underline;
}

.social-medias {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(253, 249, 242, 0.05);
    border: 1px solid var(--color-border-glass);
    color: var(--color-cashew-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background-color: var(--color-almond-warm);
    color: var(--color-walnut-dark);
    border-color: var(--color-almond-warm);
    transform: translateY(-3px);
}

/* Map Card */
.map-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.map-card iframe {
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.map-card:hover iframe {
    opacity: 1;
}

.footer-spacer {
    height: 20vh;
}

/* Footer Styles */
.site-footer {
    background-color: var(--color-walnut-medium);
    border-top: 1px solid var(--color-border-glass);
    padding: 80px 0 0 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 48px;
}

.footer-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-cashew-light);
    letter-spacing: 0.5px;
}

.brand-block .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.brand-tagline {
    color: var(--color-cashew-mid);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 320px;
}

.brand-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-cashew-mid);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.brand-info-item i {
    color: var(--color-almond-warm);
    font-size: 1rem;
}

.links-block ul {
    list-style: none;
}

.links-block li {
    margin-bottom: 12px;
}

.links-block a {
    color: var(--color-cashew-mid);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.links-block a:hover {
    color: var(--color-almond-warm);
    padding-left: 6px;
}

.business-block p {
    color: var(--color-cashew-mid);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border-glass);
    padding: 24px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-cashew-mid);
    opacity: 0.7;
}

.footer-bottom-links a {
    color: var(--color-almond-warm);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--color-cashew-light);
    text-decoration: underline;
}

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

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    transition: var(--transition-smooth);
}

.whatsapp-float .float-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--color-walnut-medium);
    color: var(--color-cashew-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--color-border-glass);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform: translateX(10px);
}

.whatsapp-float:hover .float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Responsiveness / Media Queries */

/* Tablet viewports */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-block.business-block {
        grid-column: span 2;
    }
}

/* Mobile landscape and tablet portraits */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 100px 0 60px 0;
    }
    
    /* Toggle Mobile hamburger */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-actions .btn-nav {
        display: none; /* Hide primary button on header, show inside mobile nav menu */
    }
    
    .mobile-nav-menu {
        display: flex;
    }
    
    /* About Us adjustment */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact grid adjustment */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .map-card {
        min-height: 300px;
    }
}

/* Mobile phones portrait */
@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .glass-card {
        padding: 24px;
        border-radius: var(--border-radius-md);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-block.business-block {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
