/* ==========================================
   Precision Soil Testing
   Main Stylesheet
========================================== */

/* ---------- Global ---------- */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Public Sans", Arial, sans-serif;
    color: #333333;
    background: #ffffff;
    line-height: 1.7;
}
h1, h2, h3, h4 {
    margin-top: 0;
    color: #2e4a2f;
    font-weight: 600;
}
h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}
p {
    margin-bottom: 20px;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.narrow {
    max-width: 850px;
}
.eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 600;
    color: #7a6248;
    margin-bottom: 10px;
}

/* ---------- Header ---------- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
    position: relative;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #2e4a2f;
}
.navigation a {
    color: #333333;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}
.navigation a:hover {
    color: #3f6b3f;
}

/* ---------- Hero ---------- */
.hero {
    height: 560px;
    background-image:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url("../images/header_soil_testing.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content {
    color: white;
    max-width: 760px;
    padding: 30px;
}
.hero h1 {
    color: white;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.8rem;
    font-weight: 400;
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
}
.section.light {
    background: #f5f2ea;
}

/* ---------- Image Breaks ---------- */
.image-break {
    height: 300px;
    background-size: cover;
    background-position: center;
}
.image-one {
    background-image: url("../images/divider1.jpg");
}
.image-two {
    background-image: url("../images/divider2.jpg");
}
.image-three {
    background-image: url("../images/divider3.jpg");
}

/* ---------- Services ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.service-card {
    background: white;
    border: 1px solid #dddddd;
    padding: 32px;
}
.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.service-item {
    border-bottom: 1px solid #eeeeee;
    padding: 14px 0;
}
.service-item:last-child {
    border-bottom: none;
}
.service-item h4 {
    margin-bottom: 4px;
    font-size: 0.98rem;
    color: #7a6248;
    font-weight: 600;
}
.service-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #555555;
}

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.team-member {
    text-align: center;
}
.team-member img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 18px;
}
.team-member h3 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}
.team-member .role {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7a6248;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.team-member p {
    font-size: 0.92rem;
    color: #555555;
}

/* ---------- Contact ---------- */
.contact {
    text-align: center;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.contact-block {
    background: white;
    border: 1px solid #dddddd;
    padding: 24px;
}
.contact-block h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7a6248;
    margin-bottom: 8px;
}
.contact-block p {
    margin: 0;
    font-size: 0.95rem;
}

/* ---------- Footer ---------- */
footer {
    background: #2e4a2f;
    color: white;
    text-align: center;
    padding: 30px;
}
footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ---------- Mobile ---------- */
@media(max-width: 800px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    .navigation a {
        margin: 0 10px;
    }
    .hero {
        height: 420px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .service-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
