/* COLOURS */
:root {
    --green: #6B7D6A;
    --light-green: #A7B3A5;
    --neutral: #D9D4C7;
    --offwhite: #F5F3EE;
    --dark: #3F4A3E;
}

/* GLOBAL */
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--dark);
    background: var(--offwhite);
    line-height: 1.6;
}

/* HEADER */
.site-header {
    background: white;
    border-bottom: 1px solid var(--neutral);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 900px;   /* match your body width */
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#about,
#services,
#contact {
    scroll-margin-top: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--green);
}

.logo img {
    height: 120px;
    width: auto;
}

.main-nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--green);
}

/* HERO */
.hero {
    background: url('../images/Habitat-Survey.jpg') center/cover no-repeat;
    height: 45vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

/* Soft overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 2rem;
    background: rgba(0,0,0,0.25);
    border-radius: 6px;
}

.hero-text h1 {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* SECTIONS */
section {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: auto;
}

h2 {
    color: var(--green);
    margin-bottom: 1rem;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border: 1px solid var(--neutral);
    border-radius: 6px;
    padding: 1.5rem;
}

.service-card h3 {
    margin-top: 0;
    color: var(--green);
}

.service-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.service-card img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin: 1rem 0;
}

/* ACCORDION */
.accordion .acc-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 0.75rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion .acc-toggle:hover {
    color: var(--green);
}

.accordion .icon {
    font-size: 1.2rem;
    font-weight: 700;
}

.acc-content {
    display: none;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--neutral);
}

.acc-content p {
    margin: 0;
}

/* MOBILE */
@media (max-width: 800px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTACT SECTION */
.contact {
    background: var(--offwhite);
    padding: 3rem 2rem;
    max-width: 900px;
    margin: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--dark);
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--neutral);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: var(--dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(107,125,106,0.2);
}
/* END CONTACT SECTION */

.btn {
    background: var(--green);
    color: white;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}

.btn:hover {
    background: var(--dark);
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--green);
}

.btn {
    background: var(--green);
    color: white;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}

.btn:hover {
    background: var(--dark);
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--green);
}


/* FOOTER */

.footer {
    text-align: center;
    padding: 2rem;
    background: white;
    border-top: 1px solid var(--neutral);
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.95;
}
