/* =========================================
   GreenScapes Landscaping | Style Guide
   ========================================= */

:root {
    /* Color Palette - Earthy & Natural */
    --primary: #2f855a; /* Forest Green */
    --primary-light: #4ade80; /* Leaf Green */
    --primary-dark: #22543d; /* Deep Forest */
    --secondary: #451a03; /* Rich Soil Brown */
    --accent: #84cc16; /* Lime Green */
    
    /* Neutral Colors */
    --text-main: #1f2937; /* Dark Gray */
    --text-muted: #4b5563; /* Medium Gray */
    --bg-light: #f0fdf4; /* Very Pale Mint Green */
    --bg-white: #ffffff;
    --bg-alt: #f3f4f6;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(47, 133, 90, 0.1), 0 2px 4px -1px rgba(47, 133, 90, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(47, 133, 90, 0.1), 0 4px 6px -2px rgba(47, 133, 90, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(47, 133, 90, 0.15), 0 10px 10px -5px rgba(47, 133, 90, 0.04);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Buttons & Badges */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

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

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: var(--font-heading);
    border: 2px solid var(--primary);
    letter-spacing: 0.5px;
    font-size: 1rem;
}

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

.btn-primary-full, .btn-outline-full {
    display: block; width: 100%; text-align: center; padding: 1.1rem;
    border-radius: var(--radius-md); font-weight: 600; font-family: var(--font-heading);
    font-size: 1.1rem; cursor: pointer; border: none; transition: var(--transition);
}

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

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

.btn-link { color: var(--primary); font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-link:hover { color: var(--primary-dark); gap: 0.8rem; }

.badge-pill {
    display: inline-block; background-color: var(--accent); color: var(--primary-dark);
    padding: 0.5rem 1.5rem; border-radius: var(--radius-pill); font-size: 0.9rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem;
}

/* Typography Utilities */
.section-subtitle { color: var(--primary); font-size: 1.1rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem;}
.section-title { font-size: 2.8rem; font-weight: 800; color: var(--secondary); margin-bottom: 1.5rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 0; z-index: 1000; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: var(--bg-white); box-shadow: var(--shadow-sm); padding: 1rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; font-family: var(--font-heading); color: var(--bg-white); display: flex; align-items: center; gap: 0.5rem;}
.navbar.scrolled .logo { color: var(--secondary); }
.logo i { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { color: var(--bg-white); font-weight: 500; font-size: 1.05rem; transition: var(--transition); }
.navbar.scrolled .nav-links a { color: var(--text-main); }
.nav-links a:hover { color: var(--accent); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.desktop-btn { padding: 0.7rem 1.8rem; font-size: 0.95rem; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--bg-white); cursor: pointer; }
.navbar.scrolled .menu-toggle { color: var(--text-main); }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(34, 84, 61, 0.9) 0%, rgba(34, 84, 61, 0.7) 50%, rgba(34, 84, 61, 0.2) 100%); }
.hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; position: relative; z-index: 2; color: var(--bg-white); }
.hero h1 { font-size: 4.5rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--bg-white); line-height: 1.1;}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.25rem; color: #d1fae5; margin-bottom: 2.5rem; font-weight: 400; line-height: 1.8;}
.hero-buttons { display: flex; gap: 1rem; }

.hero-stats { display: flex; gap: 2rem; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 2rem; border-radius: var(--radius-lg); margin-top: 4rem; border: 1px solid rgba(255, 255, 255, 0.2); align-self: flex-start;}
.stat-item h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 0.2rem; font-weight: 800;}
.stat-item p { font-size: 0.95rem; color: var(--bg-white); font-weight: 500; margin: 0; }

/* Section Base */
.services-section { padding: 8rem 0; background-color: var(--bg-light); }
.about-section { padding: 8rem 0; background-color: var(--bg-white); }
.pricing-section { padding: 8rem 0; background-color: var(--bg-alt); }
.contact-section { padding: 8rem 0; background-color: var(--bg-white); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }
.service-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 2px solid transparent; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.service-image { position: relative; height: 260px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-card:hover .service-image img { transform: scale(1.05); }
.service-content { padding: 2.5rem; position: relative;}
.service-icon { position: absolute; top: -30px; right: 2rem; width: 60px; height: 60px; background: var(--primary); color: var(--bg-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-md); border: 4px solid var(--bg-white);}
.service-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--secondary); }
.service-content p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid var(--bg-light);}
.about-image img { width: 100%; height: 600px; object-fit: cover; }
.about-text p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2.5rem; line-height: 1.8;}
.feature-list { display: flex; flex-direction: column; gap: 2rem; }
.feature-list li { display: flex; gap: 1.5rem; align-items: flex-start; }
.icon-box { font-size: 2rem; color: var(--primary); background: var(--bg-light); width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
.feature-list h4 { font-size: 1.25rem; margin-bottom: 0.3rem; color: var(--secondary);}
.feature-list p { font-size: 1rem; margin-bottom: 0; color: var(--text-muted);}

/* Pricing Section */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; align-items: center; }
.price-card { background: var(--bg-white); padding: 3.5rem 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); text-align: center; position: relative; transition: var(--transition); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.popular { transform: scale(1.05); border: 2px solid var(--primary); box-shadow: var(--shadow-lg); z-index: 1;}
.price-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--bg-white); padding: 0.5rem 1.5rem; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; box-shadow: var(--shadow-sm);}
.price-card h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--secondary); }
.price { font-size: 4rem; font-weight: 800; font-family: var(--font-heading); color: var(--primary); margin-bottom: 1rem; display: flex; justify-content: center; align-items: flex-start; }
.price span:first-child { font-size: 1.8rem; margin-top: 0.6rem; color: var(--text-muted);}
.plan-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 2.5rem; min-height: 50px;}
.plan-features { text-align: left; margin-bottom: 3rem; }
.plan-features li { padding: 1rem 0; border-bottom: 1px solid #e5e7eb; color: var(--text-main); display: flex; align-items: center; gap: 1rem; font-size: 1.05rem;}
.plan-features i { color: var(--primary); font-size: 1.2rem;}

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.contact-text h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.contact-text p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-item i { font-size: 2.2rem; color: var(--primary); }
.contact-item h4 { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--secondary);}
.contact-item p { margin-bottom: 0; font-size: 1.05rem; color: var(--text-muted);}
.contact-form { background: var(--bg-light); padding: 4rem; border-radius: var(--radius-lg); border: 1px solid #dcfce7; }
.contact-form h3 { font-size: 2rem; margin-bottom: 2.5rem; color: var(--secondary);}
.input-group { margin-bottom: 1.5rem; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 1.2rem; border: 1px solid #d1d5db; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 1.05rem; transition: var(--transition); background: var(--bg-white); }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3); }

/* Footer */
footer { background: var(--primary-dark); color: var(--bg-white); padding: 6rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p { color: #d1fae5; font-size: 1.05rem; max-width: 350px; line-height: 1.8;}
.footer-links h4, .footer-socials h4 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--accent);}
.footer-links ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: #d1fae5; transition: var(--transition); font-size: 1.05rem;}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 45px; height: 45px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; color: var(--bg-white); transition: var(--transition); font-size: 1.2rem;}
.social-icons a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #a7f3d0; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text-wrapper { padding-right: 0; }
    .hero-buttons { justify-content: center; }
    .hero-stats { align-self: center; justify-content: center; margin-left: auto; margin-right: auto;}
    .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 4rem;}
    .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .desktop-btn { display: none; }
    .nav-links { position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; background: var(--bg-white); flex-direction: column; gap: 0; padding-top: 80px; transition: var(--transition); z-index: 999; box-shadow: -5px 0 15px rgba(0,0,0,0.2); }
    .nav-links.active { right: 0; }
    .nav-links a { display: block; padding: 1.5rem 2rem; border-bottom: 1px solid #f3f4f6; font-size: 1.1rem; color: var(--text-main);}
    .hero h1 { font-size: 3.2rem; }
    .services-grid, .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-5px); }
    .footer-content { grid-template-columns: 1fr; }
    .about-image img { height: 400px; }
    .contact-form { padding: 2.5rem 2rem; }
}
