/*
Theme Name: NWR Armadillo Trapper
Author: Garrett Jewell
Description: Professional armadillo trapping and wildlife removal template.
Version: 1.0
*/

:root {
    --nwr-green: #2b5b32;       /* Deep brand green */
    --nwr-green-light: #3e7a46; /* Lighter accent green */
    --nwr-green-pale: #eaf1eb;  /* Very soft green for backgrounds */
    --nwr-grey-dark: #2d3748;   /* Deep slate grey for primary text */
    --nwr-grey-med: #4a5568;    /* Medium grey for secondary text */
    --nwr-grey-light: #f7fafc;  /* Off-white/grey for section backgrounds */
    --white: #ffffff;
    --radius-lg: 24px;          /* Large, soft rounded corners */
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 10px 40px rgba(45, 55, 72, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    color: var(--nwr-grey-dark);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    font-size: 1.125rem;
}

h1, h2, h3, h4 {
    color: var(--nwr-green);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; color: var(--nwr-grey-dark); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--nwr-grey-dark); }

p { margin-bottom: 1.5rem; color: var(--nwr-grey-med); }

a { text-decoration: none; color: var(--nwr-green); font-weight: 600; transition: color 0.2s; }
a:hover { color: var(--nwr-green-light); }

ul { margin-bottom: 2rem; list-style: none; }
li {
    margin-bottom: 1rem;
    color: var(--nwr-grey-med);
    padding-left: 1.75rem;
    position: relative;
}
li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--nwr-green);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 5rem 0;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--nwr-green);
    color: var(--white) !important;
    box-shadow: 0 4px 14px rgba(43, 91, 50, 0.3);
}

.btn-primary:hover {
    background-color: var(--nwr-green-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--nwr-green) !important;
    border: 2px solid var(--nwr-green);
}

.btn-outline:hover {
    background-color: var(--nwr-green-pale);
}

/* --- HEADER & NAVIGATION --- */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.top-banner {
    background-color: var(--nwr-green);
    color: var(--white);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    max-width: 1400px;
    margin: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--nwr-green);
    letter-spacing: -0.5px;
}

nav ul { display: flex; gap: 2.5rem; margin: 0; align-items: center; }
nav li { padding: 0; margin: 0; }
nav li::before { display: none; }
nav a { color: var(--nwr-grey-dark); font-size: 1rem; }
nav a:hover { color: var(--nwr-green); }

/* --- HERO SECTION --- */
#hero {
    background-color: var(--nwr-green-pale);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text { flex: 1; text-align: left; }
.hero-buttons { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.trust-badges { display: flex; gap: 1.5rem; margin-top: 3rem; flex-wrap: wrap; }

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--nwr-grey-dark);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.hero-logo-wrapper { flex-shrink: 0; display: flex; justify-content: center; }
.hero-logo-container {
    width: 250px;
    height: 250px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(43, 91, 50, 0.15);
    padding: 1.5rem;
}

.hero-logo-img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- SPLIT CONTENT SECTIONS --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-soft {
    width: 100%;
    height: 500px;
    background-color: var(--nwr-grey-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nwr-grey-med);
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

/* --- WHY CHOOSE US GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: var(--nwr-green-pale);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.feature-box:hover { transform: translateY(-5px); }

/* --- SERVICE AREAS --- */
.service-areas {
    background-color: var(--white);
    border: 2px solid var(--nwr-green-pale);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    margin: 4rem auto;
    max-width: 1000px;
    text-align: center;
}

.communities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: left;
}

.county-list h3 {
    color: var(--nwr-green);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--nwr-green-pale);
    padding-bottom: 0.5rem;
}

/* --- CONTACT FORM --- */
#contact {
    background-color: var(--nwr-grey-dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    margin: 4rem auto;
    max-width: 1000px;
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    max-width: 800px;
    margin: auto;
    color: var(--nwr-grey-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }

input, textarea {
    padding: 1rem;
    border: 2px solid var(--nwr-grey-light);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--nwr-grey-light);
    transition: border-color 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--nwr-green);
    background-color: var(--white);
}

/* --- FOOTER --- */
footer {
    background-color: var(--nwr-grey-light);
    padding: 4rem 1rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* --- RESPONSIVE --- */
@media(max-width: 900px) {
    .hero-container { flex-direction: column-reverse; text-align: center; }
    .split-layout { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-container { flex-direction: column; gap: 1rem; }
}

@media(max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .communities-grid { grid-template-columns: 1fr; }
}