:root {
    --primary: #0a4f41; /* Deep pine/teal green */
    --primary-light: #106f5c;
    --primary-dark: #06342b;
    --accent: #c47035; /* Copper/bronze */
    --accent-hover: #a85d29;
    --bg-color: #faf8f5;
    --surface: #ffffff;
    --text-dark: #1f2926;
    --text-muted: #52605c;
    --border: #e2dfd8;

    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Marcellus SC', 'Playfair Display', serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.12; letter-spacing: 1px; word-spacing: normal; color: var(--primary-dark); text-transform: none; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.bg-primary { background-color: var(--primary); color: white; }
.bg-surface { background-color: var(--surface); }
.py-section { padding-top: 5rem; padding-bottom: 5rem; }
.relative { position: relative; }
.mt-4 { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    min-height: 44px;
    min-width: 44px;
    border: none;
    font-family: var(--font-sans);
}
.btn-accent {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(196, 112, 53, 0.25);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 112, 53, 0.3);
}
.btn-outline {
    background-color: transparent;
    color: var(--surface);
    border: 2px solid var(--surface);
}
.btn-outline:hover {
    background-color: var(--surface);
    color: var(--primary);
}
.btn-outline-dark {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    padding: 0.75rem 0;
}
.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; }
.logo img { height: 64px; margin: -8px 0; transition: var(--transition); }
.header.scrolled .logo img { height: 52px; margin: -6px 0; }

.desktop-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.1rem; font-weight: 500; flex-wrap: wrap; }
.nav-links a { color: var(--text-dark); position: relative; padding: 0.5rem 0; font-size: 0.95rem; white-space: nowrap; }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--accent); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: flex; align-items: center; gap: 0.3rem; }
.dropdown-caret { transition: transform 0.2s ease; }
.nav-item:hover .dropdown-caret, .nav-item:focus-within .dropdown-caret { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background-color: white; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    padding: 0.5rem; display: flex; flex-direction: column; min-width: 220px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 10;
}
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    padding: 0.65rem 1rem; border-radius: 6px; white-space: nowrap; font-size: 0.92rem;
    color: var(--text-dark);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover, .dropdown-menu a.active { background-color: var(--surface); color: var(--primary); }

.mobile-sublink { font-size: 1.02rem !important; font-weight: 500 !important; opacity: 0.8; }

.mobile-menu-btn {
    display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary);
    cursor: pointer; padding: 0.5rem;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--surface); z-index: 999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; padding: 2rem 1.5rem;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 1.35rem; text-align: center; font-size: 1.25rem; font-weight: 600; }
.mobile-nav-links a.active { color: var(--accent); }
.mobile-nav .close-btn { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 2rem; color: var(--primary); }

/* Hero Section (Home) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    align-items: safe center;
    padding-top: 7rem;
    padding-bottom: 3rem;
    background-color: var(--primary-dark);
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.45;
    mix-blend-mode: overlay;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 820px;
    color: white;
}
.hero h1 {
    color: white; font-size: clamp(3.375rem, 6vw, 5.625rem); margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem); margin-bottom: 2.5rem;
    font-weight: 300; opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page Hero (interior pages) */
.page-hero {
    position: relative;
    min-height: 46vh;
    display: flex;
    align-items: flex-end;
    align-items: safe flex-end;
    padding-top: 7rem;
    padding-bottom: 3rem;
    background-color: var(--primary-dark);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.5;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,52,43,0.35) 0%, rgba(6,52,43,0.85) 100%);
}
.page-hero-content { position: relative; z-index: 2; color: white; max-width: 780px; }
.page-hero .breadcrumb { font-size: 0.9rem; opacity: 0.85; margin-bottom: 0.75rem; letter-spacing: 0.5px; }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { color: white; font-size: clamp(2.85rem, 5.1vw, 4.5rem); margin-bottom: 1rem; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.page-hero p { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 300; opacity: 0.95; max-width: 640px; margin-bottom: 0; }

/* Credentials Strip */
.credentials {
    background-color: var(--primary);
    color: white; padding: 1.5rem 0;
    font-weight: 500; font-size: 1.125rem;
    border-bottom: 4px solid var(--accent);
}
.credentials-grid {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem;
    text-align: center;
}

/* About / Intro two-col layout (reused across pages) */
.about-grid, .two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.about-image img, .two-col img {
    border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}

/* Story blocks (About page family history) */
.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 4rem; }
.story-block:last-child { margin-bottom: 0; }
.story-block.reverse .story-image { order: 2; }
.story-block img { border-radius: 8px; box-shadow: 0 16px 32px rgba(0,0,0,0.1); border: 1px solid var(--border); }
.story-year { display: inline-block; color: var(--accent); font-weight: 700; letter-spacing: 2px; margin-bottom: 0.5rem; font-size: 0.95rem; }

.badge-wrap { display: flex; justify-content: center; margin: 0 auto 2rem; }
.badge-wrap img { max-width: 220px; border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,0.15); }

/* Our Team (About page) */
.team-lead { display: flex; justify-content: center; margin-top: 3rem; margin-bottom: 2.5rem; }
.team-lead .team-card { max-width: 320px; }
.team-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
}
.team-card { text-align: center; }
.team-photo {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.1); border: 1px solid var(--border);
    margin-bottom: 1.25rem;
}
.team-photo.team-photo-duo { aspect-ratio: auto; }
.team-name { font-size: 1.5rem; margin-bottom: 0.15rem; color: var(--primary-dark); }
.team-title {
    display: block; color: var(--accent); font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.6rem;
}
.team-phone a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.team-phone a:hover { color: var(--accent); text-decoration: underline; }

/* Services */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
    margin-top: 3rem;
}
.service-card {
    background: var(--surface); padding: 2.5rem; border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(10, 79, 65, 0.08);
}
.service-icon {
    font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem;
}
.service-card h3 { margin-bottom: 1rem; font-size: 2.25rem; }
.service-list { padding-left: 1.5rem; color: var(--text-muted); }
.service-list li { margin-bottom: 0.5rem; position: relative; }
.service-list li::before {
    content: '•'; color: var(--accent); font-weight: bold;
    position: absolute; left: -1.25rem;
}

/* Category cards (Services page - image top variant) */
.category-card { overflow: hidden; padding: 0; }
.category-card img { height: 220px; object-fit: cover; width: 100%; }
.category-card .category-body { padding: 2rem 2rem 2.5rem; }

/* Audience grid (Commercial Landscaping page) */
.audience-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem;
    margin-top: 2.5rem;
}
.audience-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    padding: 1.75rem 1.5rem; text-align: center; transition: var(--transition);
}
.audience-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.audience-card .audience-icon { color: var(--accent); margin-bottom: 0.85rem; }
.audience-card h4 { font-size: 1.575rem; letter-spacing: 1.5px; margin-bottom: 0; color: var(--primary-dark); }

/* Icon check list */
.icon-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 2rem; margin: 1.5rem 0; }
.icon-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-muted); font-size: 1.05rem; }
.icon-list li svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--accent); }
.icon-list-inline { grid-template-columns: repeat(4, 1fr); }

/* Case study / before-after */
.case-study { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 3rem; margin-top: 3rem; }
.case-study-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.case-study-grid figure { margin: 0; }
.case-study-grid img { border-radius: 8px; height: 220px; object-fit: cover; width: 100%; }
.case-study-grid figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-muted); text-align: center; font-weight: 500; }
.stage-tag { display: inline-block; background: var(--primary); color: white; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.5rem; font-weight: 600; }
.stage-tag.after { background: var(--accent); }

/* Gallery (Projects page) */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
    margin-top: 3rem;
}
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(6,52,43,0.9));
    color: white; padding: 2.5rem 1.25rem 1rem; font-size: 0.95rem; font-weight: 500;
}
.gallery-item.tall img { height: 340px; }
.gallery-filter-note { color: var(--text-muted); margin-top: -1.5rem; margin-bottom: 2rem; }

/* Service Areas */
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2.5rem 0; }
.city-pill {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    padding: 1.25rem 1rem; text-align: center; font-weight: 600; color: var(--primary-dark);
    letter-spacing: 0.5px;
}
.expanded-area-note { background: var(--bg-color); border: 1px dashed var(--accent); border-radius: 8px; padding: 2rem; margin-top: 2rem; }

/* Power Washing Callout */
.power-washing {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white; text-align: center;
    border-radius: 12px; padding: 4rem 2rem;
    position: relative; overflow: hidden;
    box-shadow: 0 20px 40px rgba(10, 79, 65, 0.2);
    margin: 4rem 0;
}
.power-washing::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(196, 112, 53, 0.2), transparent 50%);
}
.power-washing h2 { color: white; font-size: 3.75rem; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.power-washing p { font-size: 1.25rem; max-width: 800px; margin: 0 auto 2rem; position: relative; z-index: 1; font-weight: 300; line-height: 1.8; }

/* CTA Banner */
.cta-banner {
    background-color: var(--accent); color: white;
    text-align: center; padding: 4rem 1.5rem;
}
.cta-banner h2 { color: white; margin-bottom: 1rem; font-size: 3.75rem; }

/* Contact */
.contact-section { background-color: var(--surface); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--primary-dark);
}
.form-control {
    width: 100%; padding: 1rem; border: 1px solid var(--border);
    border-radius: 4px; font-family: var(--font-sans); font-size: 1rem;
    transition: border-color 0.3s; background-color: var(--bg-color);
}
.form-control:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 79, 65, 0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.contact-info { background: var(--bg-color); padding: 3rem; border-radius: 8px; border: 1px solid var(--border); }
.contact-info h3 { font-size: 3rem; margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.125rem; }
.contact-detail strong { color: var(--primary); display: block; margin-bottom: 0.25rem; }

/* Footer */
.footer { background-color: var(--primary-dark); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--accent); margin-bottom: 1.5rem; font-size: 1.875rem; }
.footer-col p, .footer-col li { color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; }
.footer-col a:hover { color: var(--accent); }
.footer-credentials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.footer-credentials span {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.8rem; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9); font-weight: 600;
}
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background-color: rgba(255,255,255,0.1); transition: var(--transition);
}
.social-links a:hover { background-color: var(--accent); }
.footer-bottom {
    text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6); font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .two-col, .story-block { grid-template-columns: 1fr; gap: 2.5rem; }
    .icon-list-inline { grid-template-columns: repeat(2, 1fr); }
    .two-col.reverse { direction: ltr; }
    .story-block.reverse .story-image { order: 0; }
    .hero h1 { font-size: 3.375rem; }
    .desktop-nav { gap: 1rem; }
    .nav-links { gap: 0.85rem; }
    .nav-links a { font-size: 0.85rem; }
}
@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
}
@media (max-width: 768px) {
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; }
    .credentials-grid { flex-direction: column; gap: 1rem; }
    .py-section { padding-top: 4rem; padding-bottom: 4rem; }
    .page-hero { min-height: 38vh; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .team-lead { margin-top: 2rem; margin-bottom: 2rem; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
    .team-lead .team-card { max-width: 260px; }
    .icon-list-inline { grid-template-columns: 1fr; }
}
