/* 
   Precision Tree Services - Modern, Premium Local Service Brand 
   Designed for Trust, Conversion, and Aesthetic Excellence
*/

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

:root {
    /* Color Palette */
    --primary: #1f5f3a;
    /* Deep Forest Green */
    --primary-dark: #16432a;
    --primary-light: #2a7d4d;
    --secondary: #a3c4bc;
    /* Natural-ish Tone */
    --accent: #f0f4f1;
    /* Subtle Gray Background */
    --white: #ffffff;
    --black: #111111;
    --text-main: #2d3748;
    --text-muted: #718096;

    /* Shadows & Depths */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Layout */
    --container-max: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

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

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

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

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

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

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

.btn-white:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    min-height: 90px;
    /* Increased height */
    display: flex;
    align-items: center;
}

header.scrolled {
    min-height: 80px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

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

.logo span {
    color: var(--black);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links li a {
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .btn-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1.05rem;
    color: var(--white);
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 2001;
}

/* Mobile Full Screen Nav */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-links li a {
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--black);
    text-transform: uppercase;
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(31, 95, 58, 0.5)), url('assets/hero.webp') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-bullets {
    margin-bottom: 40px;
}

.hero-bullets li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-bullets i {
    color: #4ade80;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Booking Form in Hero */
.hero-form-box {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    color: var(--black);
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.hero-form-box h3 {
    margin-bottom: 12px;
    text-align: center;
    font-size: 1.8rem;
}

.hero-form-box p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    height: 55px;
    font-size: 1.1rem;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 50px 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
}

/* Social Proof Styles */
.reviews-section {
    background-color: var(--accent);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.star-rating {
    color: #eab308;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* About Section Styles */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-box {
    position: relative;
}

.badge-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.badge-float span {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* Why Choose Us - 3 Column Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

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

.why-icon {
    font-size: 1.8rem;
    color: var(--primary);
    background: var(--accent);
    padding: 15px;
    border-radius: 12px;
}

.why-item h4 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

/* CTA Banner Styles */
.cta-banner {
    background: linear-gradient(rgba(31, 95, 58, 0.9), rgba(31, 95, 58, 0.9)), url('assets/hero.webp') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Footer Styles */
footer {
    background: #0d120f;
    color: #cbd5e0;
    padding: 100px 0 50px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-about .footer-logo {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
}

.footer-about .footer-logo span {
    color: var(--primary-light);
}

.footer-about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer li {
    margin-bottom: 18px;
}

.footer li a {
    font-size: 1.05rem;
    transition: var(--transition);
}

.footer li a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-contact-info p {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    font-size: 1.05rem;
}

.footer-contact-info i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Lightbox Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-img-container {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lightbox-img-container img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    z-index: 3001;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Full Mobile Optimization Media Queries */
@media (max-width: 1100px) {
    .container {
        padding: 0 30px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-form-box {
        order: 2;
        margin: 0 auto;
    }

    .hero-bullets {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 991px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-box {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid,
    .reviews-grid,
    .gallery-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner h2 {
        font-size: 2.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-info p {
        justify-content: center;
    }

    .cta-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .badge-float {
        bottom: -20px;
        right: 0;
        padding: 15px;
    }

    .badge-float span {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .logo {
        font-size: 1rem;
    }

    /* Decreased from 1.4rem */
    .hero-form-box {
        padding: 30px 20px;
    }
}