/*
Theme Name: Landscaping 724
Theme URI: https://landscaping724.com
Author: Landscaping 724
Description: A lightweight, professional theme for landscaping and lawn care operational consulting services.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: landscaping724
*/

/* ========================================
   CSS RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-green: #2B7A3D;
    --primary-green-dark: #1e5a2c;
    --accent-brown: #8B5A2B;
    --accent-brown-hover: #724a23;
    --secondary-green: #4CAF50;
    --light-bg: #f5f9f5;
    --white: #ffffff;
    --dark-text: #1e2a1e;
    --medium-text: #4a5548;
    --light-text: #6b7c6b;
    --border-color: #d4e4d4;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

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

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

a:hover {
    color: var(--accent-brown);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-green);
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--medium-text);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section--alt {
    background-color: var(--light-bg);
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: baseline;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    text-decoration: none;
}

.site-logo span {
    color: var(--accent-brown);
    margin-left: 0.15em;
}

.main-nav {
    display: none;
}

.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-text);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-brown);
    background-color: var(--light-bg);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
    .main-nav ul {
        flex-direction: row;
        gap: 0.5rem;
    }
    .main-nav a {
        padding: 0.5rem 1rem;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    .hero p {
        font-size: 1.25rem;
    }
}

/* ========================================
   SERVICES / FEATURES
   ======================================== */
.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-brown) 0%, #a67c52 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-green) 0%, #3d8b40 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PROBLEMS LIST
   ======================================== */
.problems-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .problems-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent-brown);
}

.problem-item__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-brown);
    font-weight: 700;
}

.problem-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   QUESTIONNAIRE
   ======================================== */
.questionnaire {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.questionnaire__progress {
    height: 6px;
    background: var(--light-bg);
}

.questionnaire__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-brown) 0%, var(--secondary-green) 100%);
    transition: width 0.4s ease;
}

.questionnaire__content {
    padding: 2rem;
}

@media (min-width: 768px) {
    .questionnaire__content {
        padding: 3rem;
    }
}

.question-step {
    display: none;
}

.question-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-step h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.question-step p.helper-text {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.options-grid {
    display: grid;
    gap: 0.75rem;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    color: var(--dark-text);
    transition: var(--transition);
}

.option-btn:hover {
    border-color: var(--primary-green);
    background: var(--white);
}

.option-btn.selected {
    border-color: var(--accent-brown);
    background: rgba(139, 90, 43, 0.08);
}

.option-btn__indicator {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.option-btn.selected .option-btn__indicator {
    border-color: var(--accent-brown);
    background: var(--accent-brown);
}

.option-btn.selected .option-btn__indicator::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.questionnaire__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn--ghost {
    background: transparent;
    color: var(--medium-text);
    padding: 0.75rem 1.5rem;
}

.btn--ghost:hover {
    color: var(--primary-green);
    background: var(--light-bg);
}

.text-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* ========================================
   RESULTS
   ======================================== */
.results-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-brown);
}

.results-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.results-card__priority {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-brown);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
}

.results-card ul {
    margin-left: 1.25rem;
    color: var(--medium-text);
}

.results-card li {
    margin-bottom: 0.5rem;
}

.email-capture {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.email-capture h3 { margin-bottom: 0.5rem; }
.email-capture p { margin-bottom: 1.5rem; }

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 500px) {
    .email-form { flex-direction: row; }
    .email-form .text-input { flex: 1; }
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-brown);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info__text strong {
    display: block;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.contact-info__text span,
.contact-info__text a {
    color: var(--medium-text);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--primary-green-dark);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand .site-logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: block;
    padding: 0.35rem 0;
}

.footer-links a:hover {
    color: var(--accent-brown);
}

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

/* ========================================
   PAGE TEMPLATES
   ======================================== */
.page-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content { padding: 3rem 0; }

.service-detail {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child { border-bottom: none; }
.service-detail h2 { margin-bottom: 1rem; }

.service-detail__features {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--medium-text);
}

.feature-item::before {
    content: '✓';
    color: var(--secondary-green);
    font-weight: 700;
}

/* ========================================
   UTILITIES
   ======================================== */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   SOCIAL CALLOUT
   ======================================== */
.social-callout {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 10;
}

.social-callout__inner {
    background: rgba(255,255,255,0.95);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.social-callout__text {
    display: flex;
    flex-direction: column;
}

.social-callout__text strong {
    color: var(--primary-green);
    font-size: 0.85rem;
}

.social-callout__text span {
    color: var(--medium-text);
    font-size: 0.75rem;
}

.social-callout__inner a {
    color: var(--accent-brown);
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.social-callout__inner a:hover {
    color: var(--accent-brown-hover);
}

@media (max-width: 900px) {
    .social-callout {
        position: relative;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
}

#social {
    scroll-margin-top: 100px;
}
