@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Palette - Eco Green */
    --primary-hsl: 142, 40%, 25%;
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(142, 40%, 35%);
    --primary-dark: hsl(142, 45%, 15%);
    
    /* Secondary Palette - Wood Brown */
    --secondary-hsl: 25, 40%, 35%;
    --secondary: hsl(var(--secondary-hsl));
    --secondary-light: hsl(25, 35%, 45%);
    
    /* Neutral Palette */
    --bg-pristine: hsl(0, 0%, 98%);
    --bg-soft: hsl(0, 0%, 95%);
    --text-main: hsl(0, 0%, 15%);
    --text-muted: hsl(0, 0%, 40%);
    --white: #ffffff;
    
    /* Accents */
    --accent-gold: hsl(45, 60%, 50%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-pristine);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
    max-width: 100%;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* --- Layout Components --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .section { padding: var(--space-lg) 0; }
    .container { padding: 0 1rem; }
}

@media (max-width: 480px) {
    .section { padding: var(--space-md) 0; }
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.4rem !important; }
}

/* --- UI Elements --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* --- Sticky Header --- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.header.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-md);
}

.header .nav-link,
.header .logo,
.header .mobile-menu-btn {
    color: var(--white);
}

.header .btn-primary {
    background-color: var(--white);
    color: var(--primary);
}

.header .btn-primary:hover {
    background-color: var(--bg-soft);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000; /* As seen in screenshot */
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    display: none;
    z-index: 1001;
    padding: 0.5rem 0;
}

.dropdown-menu a {
    color: #ffffff;
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s ease;
    min-height: 44px; /* Touch friendly */
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile Drawer Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.4s ease;
        z-index: 1000;
        align-items: flex-start;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links .nav-link {
        color: white;
        font-size: 1.2rem;
        padding: 0.5rem 0;
        width: 100%;
        display: block;
    }

    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        z-index: 1001; /* Above drawer */
        position: relative;
    }
    
    .header.scrolled .mobile-menu-btn {
        color: var(--primary);
    }
    
    .mobile-menu-btn.open {
        color: white; /* Always white when open */
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        width: 100%;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Overlay for clicking outside */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    min-height: 44px; /* Touch friendly */
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

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

/* --- Footer --- */

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
}

.footer-logo {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.footer-link {
    color: rgba(255,255,255,0.7);
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-link:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Floating WhatsApp --- */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    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 12px rgba(0,0,0,0.15);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- Animations --- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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