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

:root {
    /* Colors - Banjico Precision */
    --primary: #081c15;
    --primary-dark: #05120d;
    --secondary: #52b788; /* Electric Mint */
    --accent-glow: rgba(82, 183, 136, 0.4);
    --text: #ffffff;
    --text-muted: #b7e4c7;
    --bg-dark: #081c15;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(82, 183, 136, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Time of Day Overlays (Adjusted for Electric Mint) */
    --overlay-morning: linear-gradient(rgba(82, 183, 136, 0.1), rgba(8, 28, 21, 0.8));
    --overlay-noon: linear-gradient(rgba(255, 255, 255, 0.1), rgba(8, 28, 21, 0.7));
    --overlay-sunset: linear-gradient(rgba(251, 133, 0, 0.1), rgba(8, 28, 21, 0.9));
    --overlay-night: linear-gradient(rgba(2, 48, 71, 0.3), rgba(4, 12, 10, 0.95));
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    text-shadow: 0 0 25px rgba(82, 183, 136, 0.7); /* Bold Green Glow */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    text-shadow: 0 0 15px rgba(82, 183, 136, 0.4); /* Subtle Glow for Links */
}

ul {
    list-style: none;
}

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

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

/* --- Navigation --- */
/* --- Symmetric Monolithic Nav --- */
.monolithic-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 5px 0 25px; /* Extremely lifted */
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(8, 28, 21, 0.6), transparent);
    transition: var(--transition);
}

.nav-container {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.nav-group {
    display: flex;
    gap: 30px;
    flex: 1;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-group.left { justify-content: flex-end; }
.nav-group.right { justify-content: flex-start; align-items: center; }

.logo-center {
    position: relative;
    width: 124px; /* Locked aspect ratio for perfect circle */
    height: 124px;
    background: radial-gradient(circle at center, #ffffff 40%, transparent 85%); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.logo-center img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures characters stay centered */
    border-radius: 50%;
    transition: var(--transition);
    mix-blend-mode: multiply;
    filter: brightness(1.1) contrast(1.1);
    position: relative;
    z-index: 2;
}

.logo-center:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.logo-center::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 50px var(--accent-glow);
    z-index: 1;
}

.monolithic-nav.scrolled .logo-center {
    width: 70px;
    height: 70px;
}

.monolithic-nav.scrolled .logo-center img {
    border-width: 1px;
}

.monolithic-nav.scrolled {
    padding: 10px 0; /* Tighter scroll state */
    background: rgba(5, 18, 13, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
}

/* --- First Load Gate --- */
.first-load-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.first-load-gate.disappear {
    opacity: 0;
    visibility: hidden;
}

.gate-logo {
    width: 120px;
    height: auto;
    border-radius: 20px;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 50px var(--accent-glow);
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

.first-load-gate.active .gate-logo {
    transform: scale(20);
    opacity: 0;
}

.monolithic-nav.scrolled .logo-center img {
    height: 60px;
    border-width: 2px;
}

/* Time-based Hero variants */
.hero.morning { background-image: var(--overlay-morning), url('../assets/images/hero-lawn.png'); }
.hero.noon { background-image: var(--overlay-noon), url('../assets/images/hero-lawn.png'); }
.hero.sunset { background-image: var(--overlay-sunset), url('../assets/images/hero-lawn.png'); }
.hero.night { background-image: var(--overlay-night), url('../assets/images/hero-lawn.png'); }

/* --- Sprouting Shrubs (Fixed Position) --- */
.section-area {
    position: relative;
    overflow: hidden;
    padding-bottom: 120px !important;
}

.shrub-container {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    align-items: flex-end;
}

.shrub {
    width: 60px;
    height: 50px;
    background: #1b4332;
    border-radius: 50% 50% 0 0;
    transform: scale(0);
    transform-origin: bottom;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    position: relative;
}

.shrub::before, .shrub::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.shrub::before { width: 40px; height: 40px; left: -20px; bottom: 0; }
.shrub::after { width: 45px; height: 45px; right: -20px; bottom: 0; }

.shrub.sprouted {
    transform: scale(1);
}

.shrub.s1 { width: 120px; height: 90px; background: #2d6a4f; }
.shrub.s2 { width: 160px; height: 110px; background: #40916c; opacity: 0.9; }
.shrub.s3 { width: 110px; height: 80px; background: #1b4332; border: 1px solid var(--secondary); }
.grass-particle {
    position: fixed;
    width: 6px;
    height: 3px;
    background: #2d6a4f;
    pointer-events: none;
    z-index: 2000;
    border-radius: 1px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.btn-explode {
    animation: button-shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes button-shake {
    10%, 90% { transform: translate3d(-1px, 0, 0) scale(1.05); }
    20%, 80% { transform: translate3d(2px, 0, 0) scale(1.05); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0) scale(1.05); }
    40%, 60% { transform: translate3d(4px, 0, 0) scale(1.05); }
}

.nav-group a, .logo-center {
    position: relative;
}

/* --- Monolithic Page Transition --- */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.balloon-logo {
    width: 150px;
    height: auto;
    border-radius: 30px;
    border: 4px solid var(--secondary);
    box-shadow: 0 0 100px rgba(255, 183, 3, 0.4);
    transform: scale(1);
}

.transition-overlay.active .balloon-logo {
    animation: logo-balloon 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes logo-balloon {
    0% { transform: scale(1); opacity: 0; }
    20% { transform: scale(1.2); opacity: 1; }
    80% { transform: scale(4); opacity: 1; filter: blur(0px); }
    100% { transform: scale(10); opacity: 0; filter: blur(20px); }
}

.btn-estimate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.5);
    background: var(--text);
    color: var(--primary-dark);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(8, 28, 21, 0.4), rgba(8, 28, 21, 0.98)), url('../assets/images/hero-lawn.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 5% 30px;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 10px;
    letter-spacing: -1px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 4px 40px rgba(0,0,0,0.9), 0 0 40px rgba(82, 183, 136, 0.8);
}

.hero-content p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9), 0 0 12px rgba(82, 183, 136, 0.4);
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px; /* Added spacing below buttons */
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px var(--secondary);
    background: #ffffff;
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.scramble-char {
    color: var(--secondary);
    font-family: monospace;
    opacity: 0.7;
}

/* --- Services Grid --- */
.section-services {
    padding: 150px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 8px; /* Increased tracking for the larger scale */
    font-weight: 900;
    font-size: 1.25rem; /* 75% increase from 0.7rem */
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-glow); /* Subtle brand glow */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(27, 67, 50, 0.6);
    border-color: var(--secondary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.price-tag {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
}

/* --- About Section --- */
.section-about {
    padding: var(--section-padding);
    background: #0b251a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr; /* Forced single column */
    gap: 40px;
    align-items: center;
    text-align: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-image img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* --- Service Area --- */
.section-area {
    padding: var(--section-padding);
    text-align: center;
}

.area-box {
    background: var(--bg-card);
    padding: 80px 60px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(20px);
}

.area-box h2 {
    margin: 0;
}

.area-box p {
    margin: 0;
    max-width: 700px;
}

/* --- Footer --- */
footer {
    padding: 80px 5% 40px;
    background: var(--primary-dark);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Mobile Navigation (Hidden on Desktop) --- */
.mobile-nav-toggle, .mobile-menu {
    display: none;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    /* Hide the text nav links on mobile */
    .nav-group {
        display: none;
    }
    
    /* Center the logo on mobile */
    .logo-center {
        width: 70px;
        height: 70px;
        margin-right: auto; /* Push left if needed, but here we want center */
    }
    
    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
        max-width: 100%;
    }

    .monolithic-nav {
        padding: 10px 0;
        background: rgba(5, 18, 13, 0.98);
        backdrop-filter: blur(20px);
    }

    /* Mobile Toggle Button */
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: 1px solid var(--glass-border);
        width: 45px;
        height: 45px;
        border-radius: 12px;
        cursor: pointer;
        z-index: 2000;
        transition: var(--transition);
    }

    .hamburger {
        width: 24px;
        height: 18px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--secondary);
        border-radius: 10px;
        transition: var(--transition);
    }

    /* Mobile Menu Overlay */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        z-index: 1500;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        visibility: hidden;
    }

    .mobile-menu.active {
        transform: translateY(0);
        visibility: visible;
    }

    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .mobile-link {
        font-size: 2rem;
        font-family: var(--font-heading);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .mobile-menu.active .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Toggle State Animations */
    .mobile-nav-toggle.active .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.active .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-contact-info {
        margin-top: 40px;
        padding-top: 40px;
        border-top: 1px solid var(--glass-border);
    }

    .mobile-contact-info p {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--secondary);
    }

    .mobile-contact-info a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    /* Layout Adjustments */
    .hero {
        padding: 140px 5% 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.2rem; /* Better scaling for "PRECISION MEETS PASSION" */
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 40px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .section-services, .section-about, .section-area {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 40px 30px;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .area-box {
        padding: 50px 30px;
    }
}

/* --- Floating Call Button (Mobile) --- */
.floating-call {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--primary-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
}

.floating-call:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-call {
        display: flex;
    }
}

/* --- Real Results Page --- */
.results-page {
    padding-top: 200px;
}

.results-hero {
    text-align: center;
    margin-bottom: 100px;
}

.results-hero h1 {
    font-size: clamp(3rem, 12vw, 6rem);
    margin: 20px 0;
}

.eyebrow {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 900;
    font-size: 1rem;
}

.transformation-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    margin-bottom: 100px;
    backdrop-filter: blur(20px);
}

.card-header {
    text-align: center;
    margin-bottom: 50px;
}

.card-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.comparison-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.comparison-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.comparison-item:hover img {
    transform: scale(1.05);
}

.label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.2);
}

.label.after {
    background: var(--secondary);
    color: var(--primary-dark);
}

.side-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.side-gallery img {
    border-radius: 20px;
    height: 300px;
    width: 100%;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}

.results-cta {
    text-align: center;
    padding: 150px 0;
    background: linear-gradient(to bottom, transparent, var(--primary-dark));
}

.results-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.results-cta h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin: 0;
}

.results-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0;
}

@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-item img {
        height: 400px;
    }
}

/* Service Area Towns */
.service-towns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    justify-content: center;
}

.service-towns span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.service-towns span:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.footer-phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary) !important;
}

.footer-col ul li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}
