/* Variables and Reset */
:root {
    --primary-green: #2d5a27;
    --primary-light: #4c8245;
    --primary-dark: #1e3d1a;
    --accent-color: #d4af37; /* Gold */
    --text-dark: #1a1a1a;
    --text-light: #f9f6f0;
    --bg-light: #f4f8f4;
    --bg-white: #ffffff;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Organic Palette */
    --soft-green: #e8f5e9;
    --soft-beige: #fdf5e6;
    --soft-white: #ffffff;
    --organic-border: #e0eadd;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 100px; }
body { font-family: var(--font-primary); color: var(--text-dark); line-height: 1.6; background-color: var(--bg-light); overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin-bottom: 1rem; color: var(--primary-dark); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-white { color: var(--text-light) !important; }
.text-white h2, .text-white p { color: var(--text-light) !important; }
.bg-light { background-color: var(--bg-light); }
.bg-earthy { background-color: var(--primary-green); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; font-family: var(--font-primary); font-weight: 500;
    border-radius: 30px; cursor: pointer; border: none; outline: none;
    transition: all 0.3s var(--transition); gap: 8px; font-size: 1rem;
}
.btn-primary { background-color: var(--accent-color); color: #fff; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.btn-primary:hover { background-color: #b5952f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); }
.btn-whatsapp { background-color: #25D366; color: white; margin-top: 20px; }
.btn-whatsapp:hover { background-color: #1ebe5d; transform: translateY(-2px); }
.btn-block { width: 100%; }

.separator { height: 3px; width: 60px; background-color: var(--accent-color); margin: 0 auto 20px; border-radius: 30px; }
.separator.light { background-color: var(--text-light); }

/* Animations Trigger */
.reveal { opacity: 0; visibility: hidden; }
.reveal.active { opacity: 1; visibility: visible; }
.fade-up { transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out, visibility 0.8s ease-out; }
.fade-up.active { transform: translateY(0); }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    z-index: 1000; transition: all 0.3s ease; padding: 15px 0;
    border-bottom: 2px solid var(--accent-color);
}
.navbar.scrolled { padding: 10px 0; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--primary-green); }
.logo i { color: var(--accent-color); }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-link { font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; position: relative; color: var(--primary-dark); }
.nav-link:hover { color: var(--primary-green); }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; background-color: #fff; min-width: 220px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.1); border-radius: 12px; z-index: 1; padding: 10px 0;
    top: 100%; left: 0; max-height: 400px; overflow-y: auto;
}
.dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.3s ease; }
.dropdown-content a {
    color: var(--text-dark); padding: 10px 20px; text-decoration: none;
    display: block; font-size: 0.9rem; font-weight: 500; transition: 0.2s ease;
}
.dropdown-content a:hover { background-color: var(--bg-light); color: var(--primary-green); padding-left: 25px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-dark); }

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.mobile-menu {
    position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
    background: var(--bg-white); z-index: 1002; padding: 40px 20px;
    transition: all 0.4s ease; box-shadow: -5px 0 15px rgba(0,0,0,0.1); overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.close-menu-btn { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 15px; margin-top: 40px; }
.mobile-nav-links a { font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid #eee; padding-bottom: 10px; color: var(--primary-dark); }
.mobile-dropdown-content { display: none; flex-direction: column; padding-left: 15px; background: #fafafa; border-radius: 8px; margin-top: 10px; }
.mobile-dropdown-content.open { display: flex; }
.mobile-dropdown-content a { font-size: 1rem; font-weight: 400; border: none; padding: 8px 0; color: #555; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero-slider, .slide { width: 100%; height: 100%; }
.slide {
    position: absolute; top: 0; left: 0; opacity: 0; visibility: hidden;
    background-size: cover; background-position: center; transition: opacity 1s ease, transform 1.5s ease; transform: scale(1.05);
}
.slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)); }
.slide-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: white; }
.badge { background-color: var(--accent-color); padding: 6px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; }
.slide-content h1 { font-size: 4.5rem; color: white; margin-bottom: 15px; max-width: 800px; }
.slide-content p { font-size: 1.5rem; margin-bottom: 30px; font-weight: 300; }
.slider-controls { position: absolute; top: 50%; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 0 40px; transform: translateY(-50%); z-index: 20; }
.slider-controls button { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.5); color: white; font-size: 1.2rem; cursor: pointer; backdrop-filter: blur(5px); transition: all 0.3s ease; }
.slider-controls button:hover { background: var(--accent-color); border-color: var(--accent-color); transform: scale(1.1); }

/* Full Catalog Layout */
.catalog-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}

/* Sidebar for Catalog */
.catalog-sidebar {
    width: 250px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    position: sticky;
    top: 100px;
    flex-shrink: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.catalog-sidebar::-webkit-scrollbar { width: 4px; }
.catalog-sidebar::-webkit-scrollbar-thumb { background: #dcdcdc; border-radius: 10px; }
.catalog-sidebar::-webkit-scrollbar-thumb:hover { background: var(--primary-green); }
.sidebar-title { font-size: 1.2rem; margin-bottom: 15px; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; }
.catalog-sidebar ul { display: flex; flex-direction: column; gap: 8px; }
.catalog-sidebar a { font-size: 0.95rem; font-weight: 500; color: #555; padding: 8px 12px; border-radius: 6px; display: block; transition: 0.3s; }
.catalog-sidebar a:hover, .catalog-sidebar a.active { background: var(--bg-light); color: var(--primary-green); font-weight: 600; }

/* Dynamic Content */
.catalog-content { flex: 1; }
.catalog-section { background: white; border-radius: 15px; padding: 30px; box-shadow: var(--box-shadow); margin-bottom: 40px; }
.catalog-section h3 { font-size: 2rem; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 25px; color: var(--primary-green); display: flex; align-items: center; gap: 10px; }

/* Premium List Items instead of block cards for better scannability */
.product-items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-line {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: #fff; border: 1px solid #eee;
    border-radius: 10px; transition: 0.3s ease;
}
.product-line:hover { background: var(--bg-light); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.product-line .name { font-size: 1.1rem; font-weight: 500; color: var(--text-dark); }
.product-line .price { font-size: 1.25rem; font-weight: 700; color: var(--primary-green); display: flex; align-items: baseline; gap: 4px; }
.product-line .price span { font-size: 0.85rem; color: #888; font-weight: 400; }

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}
.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
}
.process-step .icon-box {
    width: 80px;
    height: 80px;
    background-color: white;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}
.process-step:hover .icon-box {
    background-color: var(--accent-earthy);
    color: white;
    transform: rotate(360deg);
}
.process-step h4 { margin-bottom: 10px; font-size: 1.2rem; color: var(--accent-earthy); }
.process-step p { font-size: 0.95rem; color: #e0e0e0; }

/* Category Section */
.categories-section {
    background-color: var(--soft-beige);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: var(--soft-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s var(--transition);
    border: 1px solid var(--organic-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--soft-green), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 90, 39, 0.1);
    border-color: var(--primary-green);
    background-color: var(--soft-white);
}

.category-card:hover::before {
    opacity: 0.5;
}

.category-card i, .category-card img {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.category-card:hover i, .category-card:hover img {
    color: var(--primary-light);
    transform: scale(1.1);
}

.category-card h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 700;
    transition: all 0.4s ease;
}

.category-card:hover h4 {
    color: var(--primary-green);
    transform: translateY(-10px);
}

.category-card::after {
    content: 'View Range';
    position: absolute;
    bottom: -30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-green);
    transition: all 0.4s ease;
    opacity: 0;
}

.category-card:hover::after {
    bottom: 20px;
    opacity: 1;
}

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

/* Category Modal */
.category-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 25px;
    position: relative;
    padding: 50px 40px;
    overflow-y: auto;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    z-index: 10;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--primary-green);
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.modal-divider {
    height: 4px;
    width: 80px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 30px;
}

.modal-product-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .modal-product-list { grid-template-columns: 1fr; }
    .modal-header h2 { font-size: 2rem; }
    .modal-content { padding: 40px 20px; }
}

/* Testimonials & Google Reviews */
.testimonial-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.testimonial-slider::-webkit-scrollbar { display: none; } /* Chrome */
.review-card {
    flex: 0 0 calc(33.333% - 17px);
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    scroll-snap-align: start;
    border: 1px solid #eee;
}
@media(max-width: 992px) {
    .review-card { flex: 0 0 calc(50% - 13px); }
}
@media(max-width: 768px) {
    .review-card { flex: 0 0 100%; }
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.reviewer-info .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}
.reviewer-info h5 { margin-bottom: 2px; font-size: 1.05rem; color: #222; }
.reviewer-info .date { font-size: 0.85rem; color: #777; }
.review-card .stars {
    color: #fbbc04;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.review-card .review-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    font-style: italic;
}

/* Responsive YouTube Video */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000; /* Acts as a placeholder color if video errors */
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations Trigger */
.reveal { opacity: 0; visibility: hidden; }
.reveal.active { opacity: 1; visibility: visible; }
.fade-up { transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out, visibility 0.8s ease-out; }
.fade-up.active { transform: translateY(0); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 40px 0; }
.about-img img { border-radius: 20px; box-shadow: var(--box-shadow); }

/* Contact Section Grid */
.contact-info-wrap {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.contact-info-item {
    text-align: left;
}

/* Responsive */
/* Optimized Responsive Styles */
@media (max-width: 992px) {
    .catalog-wrapper { flex-direction: column; }
    .catalog-sidebar { 
        width: 100%; 
        position: sticky; 
        top: 80px; 
        z-index: 100;
        display: flex; 
        overflow-x: auto; 
        gap: 10px; 
        padding: 10px 15px;
        background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .catalog-sidebar ul { 
        flex-direction: row; 
        gap: 10px;
        white-space: nowrap;
    }
    .catalog-sidebar a {
        padding: 8px 16px;
        background: var(--bg-light);
        border: 1px solid #eee;
        border-radius: 20px;
    }
    .catalog-sidebar a.active {
        background: var(--primary-green);
        color: white;
        border-color: var(--primary-green);
    }
    .product-items { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Foundation */
    html { font-size: 15px; }
    .section-padding { padding: 60px 0; }
    .container { padding: 0 15px; }

    /* Typography */
    h1 { font-size: 2.8rem !important; }
    h2 { font-size: 2.2rem !important; }
    h3 { font-size: 1.8rem !important; }
    .slide-content p { font-size: 1.2rem !important; }

    /* Navigation */
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .logo span { font-size: 1.8rem !important; }
    .logo img { height: 50px !important; }

    /* Buttons */
    .btn { padding: 14px 30px; width: 100%; max-width: 300px; }
    .btn-whatsapp { font-size: 1.1rem; }

    /* Hero Section */
    .hero { height: 80vh; min-height: 500px; }
    .slide-content { align-items: center; text-align: center; }
    .slide-content h1 { max-width: 100%; }
    .slider-controls { display: none; }
    .slider-dots { bottom: 20px; }

    /* Product Section */
    .catalog-section { padding: 20px 15px; border-radius: 12px; }
    .catalog-section h3 { font-size: 1.6rem; }
    .product-line { padding: 12px 15px; }
    .product-line .name { font-size: 1rem; }
    .product-line .price { font-size: 1.1rem; }

    /* Process Section */
    .process-timeline { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .process-step { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
    
    /* Video Showcase */
    .video-container { border-radius: 10px; }

    /* Testimonials */
    .google-rating { flex-direction: column; gap: 5px; }
    .google-rating span { font-size: 1.5rem !important; }
    .review-card { padding: 20px; }

    /* Contact & Footer */
    #contact { padding-bottom: 40px; }
    .contact-info-wrap { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
    .contact-info-item { text-align: center !important; }
    footer .logo span { font-size: 2rem !important; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.4rem !important; }
    h2 { font-size: 2rem !important; }
    .process-timeline { grid-template-columns: 1fr; }
    .product-items { grid-template-columns: 1fr; }
}

/* Footer Styling */
.site-footer {
    background-color: var(--primary-dark);
    padding: 60px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
}
