/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: Verdana, Geneva, sans-serif;
    background: url('nature.jpg') no-repeat top center fixed;
    background-size: 100% auto;
    color: #000;
}

/* Header */
header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 30px 50px;
    max-width: 75%;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
    color: #000;
}

.logo img {
    width: 158px;
    height: auto;
    display: block;
}

/* Nav */
nav {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-top: 28px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
}

nav a:visited {
    color: #000;
}

nav a:hover {
    text-decoration: underline;
}

nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Main */
main {
    max-width: 75%;
    margin: 0 auto;
    padding: 10px 50px 80px;
}

main a {
    color: blue;
}

/* h1 — default margin used by about/services/faqs/resources */
h1 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 2.1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

/* Per-page h1 and main overrides */
.page-index main   { padding-bottom: 60px; }
.page-index h1     { margin-bottom: 30px; }
.page-contact h1   { margin-bottom: 36px; }

.honeypot {
    display: none;
}

/* ---- INDEX ---- */
.content {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.photo img {
    width: 390px;
    display: block;
}

.text p {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.text p:last-child {
    margin-bottom: 0;
}

.locations {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    border-top: 1px solid #ccc;
    padding-top: 40px;
}

.location {
    display: flex;
    flex-direction: column;
}

.location .map-link {
    margin-top: auto;
    padding-top: 12px;
}

.location h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.location address {
    font-style: normal;
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.location .hours {
    font-size: 0.97rem;
    line-height: 1.65;
}

.map-directions {
    display: inline-block;
    background: #8db5cc;
    color: #000;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
}

.map-directions:hover {
    background: #7aa5bc;
}

/* ---- ABOUT ---- */
.profile {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 70px;
}

.profile.reverse {
    flex-direction: row-reverse;
}

.profile-photo {
    flex: 0 0 450px;
}

.profile-photo img {
    width: 450px;
    height: 570px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.profile.reverse .profile-photo img {
    object-position: center center;
}

.profile-text h2 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 18px;
}

.profile-text p {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

.profile-text p:last-child {
    margin-bottom: 0;
}

/* ---- SERVICES ---- */
.service {
    margin-bottom: 60px;
}

.service h2 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 18px;
}

.service p {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.service p:last-child {
    margin-bottom: 0;
}

.service .pricing {
    font-style: italic;
}

.aapt-photo {
    margin-top: 40px;
    text-align: center;
}

.aapt-photo img {
    width: 100%;
    max-width: 840px;
    height: auto;
    display: block;
    margin: 0 auto 16px;
}

.aapt-photo p {
    font-size: 0.97rem;
    line-height: 1.65;
    color: #000;
    text-align: left;
    margin-top: 14px;
}

/* ---- FAQS ---- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

details {
    border-bottom: 1px solid #ccc;
}

summary {
    font-size: 1rem;
    font-weight: bold;
    padding: 18px 8px 18px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: normal;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

details[open] summary::after {
    content: '\2212';
}

.faq-body {
    padding: 0 8px 20px;
}

.faq-body p {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.faq-body p:last-child {
    margin-bottom: 0;
}

.faq-body ul {
    font-size: 0.97rem;
    line-height: 1.65;
    margin: 10px 0 14px 24px;
}

.faq-body ul li {
    margin-bottom: 6px;
}

.faq-body ul li:last-child {
    margin-bottom: 0;
}

/* ---- RESOURCES ---- */
/* main > h2 scopes to the direct section headings in resources only */
main > h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
}

.resource-entry {
    margin-bottom: 24px;
}

.resource-entry .resource-name {
    font-weight: bold;
    font-size: 0.97rem;
}

.resource-entry .resource-contact {
    font-size: 0.97rem;
    margin: 4px 0;
}

.resource-entry .resource-desc {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-top: 4px;
}

.resource-note {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-top: 12px;
}

.resources-photo {
    margin-top: 60px;
    text-align: center;
}

.resources-photo img {
    max-width: 33%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ---- CONTACT ---- */
.contact-intro {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 36px;
}

.contact-form {
    max-width: 680px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.97rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 0.97rem;
    padding: 10px 12px;
    border: 1px solid #999;
    background: #fff;
}

.form-group textarea {
    height: 160px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    background: #8db5cc;
    color: #000;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 32px;
    border: none;
    cursor: pointer;
}

.form-submit:hover {
    background: #7aa5bc;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .locations {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    body {
        background-image: none;
    }

    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('nature.jpg') no-repeat top center;
        background-size: cover;
        z-index: -1;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 20px;
        max-width: 100%;
    }

    nav {
        padding-top: 0;
        flex-wrap: wrap;
        gap: 14px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .page-index h1   { margin-bottom: 20px; }
    .page-contact h1 { margin-bottom: 24px; }

    main {
        padding: 10px 20px 50px;
        max-width: 100%;
    }

    /* Index */
    .content {
        flex-direction: column;
    }

    .photo img {
        width: 100%;
    }

    .locations {
        margin-top: 40px;
        padding-top: 28px;
        gap: 28px;
    }

    /* About */
    .profile,
    .profile.reverse {
        flex-direction: column;
    }

    .profile-photo,
    .profile-photo img {
        width: 100%;
        flex: unset;
    }

    .profile-photo img {
        height: 380px;
    }

    .profile-text h2 {
        font-size: 1.3rem;
    }

    /* Services */
    .service h2 {
        font-size: 1.25rem;
    }

    .aapt-photo img {
        max-width: 100%;
    }

    /* FAQs */
    summary {
        font-size: 0.95rem;
        padding: 14px 6px 14px 0;
    }

    /* Resources */
    main > h2 {
        font-size: 1.1rem;
    }

    .resources-photo img {
        max-width: 60%;
    }
}
