/* Nature's Gift - Precision Luxury System */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;600&display=swap');

:root {
  --primary: #74cc00;
  --dark-green: #2d5016;
  --luxury-black: #1a1a1a;
  --soft-white: #fcfcfc;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background-color: var(--soft-white);
  line-height: 1.8;
  overflow-x: hidden;
}

/* --- THE PERFECT HORIZONTAL HEADER --- */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 115px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(252, 252, 252, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-img {
    height: 85px;
    width: 85px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li { list-style: none; }

.nav-links a {
    text-decoration: none;
    color: var(--luxury-black);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover { color: var(--primary); }

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

/* --- HERO & STATS --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1523348837708-15d4a09cfac2?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding-top: 115px;
}

.hero h1 { 
    font-family: var(--font-serif); 
    font-size: 5rem; 
    font-style: italic; 
    margin-bottom: 30px; 
    line-height: 1.1;
}

.btn-luxury {
    display: inline-block;
    padding: 20px 50px;
    border: 1px solid white;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-luxury:hover { background: white; color: var(--dark-green); }

.stats-bar {
    padding: 80px 0;
    background: var(--dark-green);
    color: white;
    display: flex;
    justify-content: center;
    gap: 100px;
    text-align: center; /* Centers the text alignment */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the content within the flex column */
}

.stat-item h2 { font-family: var(--font-serif); font-size: 3rem; font-style: italic; margin-bottom: 5px; }
.stat-item p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; opacity: 0.8; }

.wa-float {
    position: fixed; bottom: 40px; right: 40px;
    background: #25D366; width: 65px; height: 65px;
    border-radius: 50%; display: flex; justify-content: center;
    align-items: center; color: white; font-size: 32px;
    z-index: 2000;
}

/* --- MOBILE MENU SYSTEM --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--luxury-black);
    transition: var(--transition);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .nav { height: 90px; padding: 0 20px; }
    .logo-img { height: 60px; width: 60px; }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 3rem; }
    .stats-bar { flex-direction: column; gap: 40px; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--soft-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }

    .nav-links.active { right: 0; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

/* --- MOBILE IMAGE OPTIMIZATION (FOR PRODUCTS PAGE) --- */
@media (max-width: 768px) {
    .image-wrapper {
        height: 300px !important; 
        background: #f9f9f9;
    }

    .image-wrapper img {
        object-fit: contain !important; 
        transform: scale(0.95); 
        transition: transform 0.8s ease-in-out;
    }

    .tree-card:active img, 
    .tree-card:hover img {
        transform: scale(1.02) !important;
    }
}
