/* --- Variables & Reset --- */
:root {
    --green-dark: #1b4d3e;  /* British Racing Green */
    --green-light: #2c6e58;
    --gold: #c5a059;        /* Accent Gold */
    --cream: #f4f1ea;       /* Background Cream */
    --text: #333333;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.7;
    background-color: white;
}

/* --- Typography Utilities --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--green-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding { padding: 100px 0; }
.bg-cream { background-color: var(--cream); }
.text-center { text-align: center; }

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease;
}

/* Class added via JS on scroll */
header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: white; /* Default white on hero */
    text-decoration: none;
    transition: color 0.4s;
}

.logo .light { font-weight: 400; }

header.scrolled .logo, 
header.scrolled .nav-links a, 
header.scrolled .btn-outline {
    color: var(--green-dark);
    border-color: var(--green-dark);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.btn-outline {
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: white;
    color: var(--green-dark);
}

.hamburger { display: none; color: white; font-size: 1.5rem; cursor: pointer; }
header.scrolled .hamburger { color: var(--green-dark); }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/landscaper.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content { max-width: 800px; padding: 0 20px; }

.subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;
}

.btn-primary {
    background-color: var(--green-dark);
    color: white;
    padding: 15px 35px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover { background-color: var(--green-light); }

/* --- About Section --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: var(--gold);
    margin: 20px 0;
}

.signature {
    margin-top: 30px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--green-dark);
}

.image-block img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 20px 20px 0px var(--cream);
}

/* --- Services --- */
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: #666; margin-bottom: 60px; font-style: italic; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--green-dark);
    margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 15px; font-size: 1.4rem; }

/* --- Stats Strip --- */
.stats-strip {
    background-color: var(--green-dark);
    color: white;
    padding: 60px 0;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat span {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-details { margin-top: 40px; }

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item i {
    width: 50px; height: 50px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
}

.elegant-form .input-group { margin-bottom: 20px; }

.elegant-form input, 
.elegant-form select, 
.elegant-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fcfcfc;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.elegant-form input:focus, .elegant-form textarea:focus {
    outline: none;
    border-color: var(--green-dark);
}

/* --- Footer --- */
footer {
    background-color: #111;
    color: #666;
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links, .btn-outline { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .split-layout, .contact-wrapper { grid-template-columns: 1fr; }
    .stats-flex { flex-direction: column; gap: 30px; }
    
    /* Mobile Menu Style (Activated by JS) */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        background: var(--green-dark);
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
}
/* --- Sticky CTA Button Styles --- */

.sticky-cta {
    /* 1. Positioning: Fix it to the screen so it stays while scrolling */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* Ensures it stays on top of other elements */
    
    /* 2. Visuals: Garden Theme Colors */
    background-color: #2e8b57; /* "SeaGreen" - professional but natural */
    color: #ffffff;
    text-decoration: none; /* Removes the underline link style */
    
    /* 3. Shape & Size */
    padding: 15px 30px;
    border-radius: 50px; /* Makes it a pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Adds depth/drop shadow */
    
    /* 4. Typography & Layout */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    
    /* 5. Animation */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover Effect: Makes the button "pop" when the user mouses over */
.sticky-cta:hover {
    background-color: #246b43; /* Darker green on hover */
    transform: translateY(-3px); /* Moves slightly up */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); /* Shadow gets larger */
}

/* Icon specific tweak */
.sticky-cta i {
    font-size: 1.2rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .sticky-cta {
        /* On mobile, center it at the bottom for easier thumb reach */
        left: 50%;
        transform: translateX(-50%); /* Centers element perfectly */
        bottom: 15px;
        width: 90%; /* Wide button for easier tapping */
        justify-content: center; /* Center text inside button */
    }

    /* Adjust hover state for mobile (remove lift to prevent jumpiness) */
    .sticky-cta:hover {
        transform: translateX(-50%); 
    }
}
