:root {
    --ivory: #F7F5EF;
    --sage: #A8B5A0;
    --forest: #354B3C;
    --beige: #E7DDCD;
    --taupe: #968878;
    --charcoal: #343A35;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--ivory);
    color: var(--charcoal);
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

header {
    background: var(--ivory);
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    text-decoration: none;
    color: var(--forest);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: bold;
    flex-shrink: 0;
}

.logo > span:first-child {
    color: var(--taupe);
    font-size: 25px;
}

.logo-name {
    font-family: Georgia, serif;
    font-size: 27px;
    line-height: 1.15;
}

.logo small {
    font-size: 11px;
    letter-spacing: 2.5px;
    margin-top: 5px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 23px;
}

nav a {
    text-decoration: none;
    color: var(--forest);
    font-size: 14px;
    white-space: nowrap;
}

nav a:hover {
    color: var(--taupe);
}

.nav-button {
    background: var(--forest);
    color: white;
    padding: 13px 20px;
    border-radius: 4px;
}

.nav-button:hover {
    background: var(--charcoal);
    color: white;
}

.eyebrow {
    color: var(--taupe);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: Georgia, serif;
    color: var(--forest);
}

.button {
    display: inline-block;
    background: var(--forest);
    color: white;
    padding: 15px 28px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 18px;
    transition: background 0.3s;
}

.button:hover {
    background: var(--charcoal);
}

.text-link {
    display: inline-block;
    color: var(--forest);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid var(--sage);
    padding-bottom: 6px;
    margin-top: 20px;
}

/* HERO */

.hero {
    background: var(--sage);
    padding: 75px 8%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    max-width: 550px;
}

.hero h1 {
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.15;
    margin: 18px 0;
}

.hero-content > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.8;
}

.hero-photo img {
    height: 460px;
    border-radius: 5px;
}

/* ABOUT */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding: 100px 10%;
}

.about-image img {
    height: 430px;
    border-radius: 5px;
}

.about-content h2 {
    font-size: 40px;
    line-height: 1.25;
}

.about-content p:not(.eyebrow) {
    line-height: 1.9;
    font-size: 16px;
}

/* OUR HOME */

.our-home {
    background: var(--beige);
    padding: 95px 8%;
}

.section-heading {
    max-width: 700px;
    text-align: center;
    margin: 0 auto 50px;
}

.section-heading h2 {
    font-size: 38px;
    margin: 15px 0;
    line-height: 1.25;
}

.section-heading p:not(.eyebrow) {
    line-height: 1.8;
}

.property-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.property-gallery img {
    height: 300px;
    border-radius: 5px;
    background: var(--ivory);
}

/* PEOPLE FEATURE */

.people-feature {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 55px;
    background: var(--ivory);
    padding: 90px 10%;
}

.people-text h2 {
    font-size: 38px;
    line-height: 1.3;
}

.people-text p:not(.eyebrow) {
    line-height: 1.8;
}

.people-feature img {
    height: 400px;
    border-radius: 5px;
}

/* SERVICES */

.services {
    padding: 100px 8%;
    background: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--ivory);
    border-radius: 5px;
    border-top: 4px solid var(--sage);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 22px;
    margin-top: 5px;
}

.card-content p {
    line-height: 1.8;
    color: var(--charcoal);
    font-size: 15px;
}

/* LIFE GALLERY */

.life {
    background: var(--beige);
    padding: 95px 8%;
}

.life-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.life-gallery img {
    height: 290px;
    border-radius: 5px;
}

/* WHY US */

.why-us {
    background: var(--sage);
    padding: 95px 8%;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.feature span {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--forest);
}

.feature h3 {
    font-size: 25px;
}

.feature p {
    line-height: 1.8;
}

/* CONTACT */

.contact {
    text-align: center;
    background: var(--ivory);
    padding: 100px 8%;
}

.contact h2 {
    font-size: 40px;
}

.contact > p:not(.eyebrow) {
    line-height: 1.8;
    font-size: 16px;
}

.license-note {
    display: inline-block;
    color: var(--forest);
    background: var(--beige);
    padding: 12px 20px;
    border-radius: 4px;
    margin: 15px 0 35px;
    font-weight: bold;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.contact-item {
    padding: 20px;
    border-bottom: 1px solid var(--beige);
}

.contact-item span {
    display: block;
    color: var(--taupe);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-item a,
.contact-item p {
    color: var(--forest);
    text-decoration: none;
    line-height: 1.7;
    margin: 0;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* FOOTER */

footer {
    background: var(--forest);
    color: var(--ivory);
    text-align: center;
    padding: 50px 20px 25px;
}

footer h2 {
    color: var(--ivory);
    font-size: 28px;
}

footer p {
    line-height: 1.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 28px 0;
}

.footer-links a {
    color: var(--ivory);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 22px;
    margin-top: 30px;
    font-size: 13px;
}

/* TABLET */

@media (max-width: 1000px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        gap: 35px;
    }

    .hero h1 {
        font-size: 42px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    header {
        padding: 22px 5%;
    }

    .logo {
        align-items: center;
    }

    .logo-name {
        font-size: 25px;
    }

    nav {
        gap: 14px 18px;
    }

    nav a {
        font-size: 13px;
    }

    .hero,
    .about,
    .people-feature {
        grid-template-columns: 1fr;
        padding: 55px 7%;
        gap: 30px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-photo img,
    .about-image img,
    .people-feature img {
        height: 300px;
    }

    .about-content h2,
    .people-text h2 {
        font-size: 32px;
    }

    .our-home,
    .services,
    .life,
    .why-us {
        padding: 70px 6%;
    }

    .section-heading h2,
    .contact h2 {
        font-size: 31px;
    }

    .property-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .property-gallery img {
        height: 220px;
    }

    .service-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .life-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .life-gallery img {
        height: 200px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-links {
        gap: 15px;
    }
}

/* SMALL PHONES */

@media (max-width: 420px) {
    .hero h1 {
        font-size: 34px;
    }

    .property-gallery,
    .life-gallery {
        grid-template-columns: 1fr;
    }

    .property-gallery img,
    .life-gallery img {
        height: 260px;
    }
}
/* Keep the full homepage logo visible on mobile */
@media (max-width: 768px) {
    .hero-photo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}
