/* ============================================= */
/*  VARIABLES AND BASE STYLES                   */
/* ============================================= */
:root {
    /* Colors */
    --bg: #f4f1ed;       /* light tan background */
    --panel: #d8cfc1;    /* panel / card background */
    --muted: #6b5e4f;    /* muted brown text */
    --white: #ffffff;     /* highlights */
    --gray-1: #b0a996;    /* neutral tan for borders */
    --accent: #4a7c59;    /* earthy green accent */

    /* Layout */
    --max-width: 1100px;
    --gap: 16px;
    --radius: 6px;

    /* Typography */
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* ============================================= */
/*  BASE STYLES                                  */
/* ============================================= */
body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #3d352c; /* deep brown for headings */
    margin: 0 0 16px 0;
    font-weight: 600;
}

p {
    margin: 0 0 16px 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #3b6547;
}

/* ============================================= */
/*  WRAPPER AND LAYOUT                           */
/* ============================================= */
.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--gap);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--gap) 0;
    border-bottom: 1px solid var(--gray-1);
    background-color: var(--panel);
}

/* NAV CONTAINER — stack vertically, align left */
nav[aria-label="Main navigation"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* <-- fixes Contact being too far right */
    gap: 12px;
}

/* NAV LINKS ROW */
.nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none; /* no bullets */
}

/* ENSURE LINKS THEMSELVES DON’T PUSH ANYTHING */
.nav-link {
    display: inline-block;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 45%;
}

nav .cta {
    margin-left: 16px;
    padding: 8px 16px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
}

header nav .cta:hover {
    background-color: #3b6547;
}

/* ============================================= */
/*  BUTTONS                                      */
/* ============================================= */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-right: 8px;
}

.btn.primary {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn:hover {
    background-color: #3b6547;
    color: var(--white);
    border-color: #3b6547;
}

/* ============================================= */
/*  SECTIONS                                     */
/* ============================================= */
section {
    padding: 64px 0;
}

/* Section Headings */
.section-head h3 {
    font-size: 1.75rem;
}

.section-head p {
    color: var(--muted);
}

/* Hero Section */
.hero {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.hero-left {
    flex: 2;
}

.hero-right {
    flex: 1;
    background-color: var(--panel);
    padding: 24px;
    border-radius: var(--radius);
}

.hero-left .eyebrow {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
}

.hero-left .lead {
    color: var(--muted);
    margin-top: 16px;
}

.hero-cta .btn {
    margin-right: 12px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    color: #3d352c;
}

/* Chips */
.chip {
    display: inline-block;
    background-color: var(--gray-1);
    color: #3d352c;
    padding: 6px 12px;
    border-radius: var(--radius);
    margin: 4px 4px 0 0;
}
/* ============================================= */
/*  LOGO                                */
/* ============================================= */

.logo-img {
    width: 192px;
    height: 192px;
   /* display: block; /* optional, removes inline spacing */
}

/* ============================================= */
/*  SERVICES GRID                                 */
/* ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service {
    background-color: var(--panel);
    padding: 24px;
    border-radius: var(--radius);
}

/* ============================================= */
/*  PROJECTS GALLERY                              */
/* ============================================= */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.project {
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: var(--radius);
}

/* ============================================= */
/*  CONTACT FORM                                  */
/* ============================================= */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--panel);
    padding: 24px;
    border-radius: var(--radius);
}

/* Inputs and textarea */
#contact-form input,
#contact-form select,
#contact-form textarea {
    padding: 8px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-1);
    width: 100%;
    font-family: var(--font-sans);
    font-size: 1rem;
}

/* Submit button */
#contact-form .submit {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 600;
}

#contact-form .submit:hover {
    background-color: #3b6547;
}

/* ============================================= */
/*  FOOTER                                       */
/* ============================================= */
footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--gray-1);
    font-size: 14px;
    color: var(--muted);
    background-color: var(--panel);
}
