/* ========================================
   VERDANT RIDGE
   Main Stylesheet
========================================= */


/* ---------- COLOR VARIABLES ---------- */

:root {
    --forest: #354a3a;
    --forest-dark: #26372b;
    --sage: #78866b;
    --sage-light: #e4e8de;

    --cream: #f4f0e6;
    --cream-light: #faf8f2;

    --brown: #8a6848;
    --charcoal: #333630;

    --border: #cec6b7;

    --white: #ffffff;

    --shadow:
        0 10px 28px rgba(38, 55, 43, 0.12);
}


/* ---------- RESET ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--cream-light);

    color: var(--charcoal);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.65;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}


/* ---------- GENERAL ---------- */

.container {
    width: min(1180px, calc(100% - 40px));

    margin-inline: auto;
}


/* ========================================
   HEADER
========================================= */

.site-header {
    position: relative;

    z-index: 10;

    background: var(--cream-light);
}


/* ---------- TOP HEADER ---------- */

.header-top {
    min-height: 105px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding-top: 15px;

    padding-bottom: 20px;
}


.site-logo img {
    width: 285px;

    height: auto;
}


.location {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--forest);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1rem;
}


.location-icon {
    width: 20px;

    height: 20px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: var(--sage);

    font-size: 0.65rem;

    border: 2px solid var(--sage);

    border-radius: 50%;
}


/* ---------- NAVIGATION ---------- */

.main-nav {
    position: absolute;

    left: 50%;

    bottom: -27px;

    transform: translateX(-50%);

    min-height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: min(700px, calc(100% - 40px));

    background: rgba(255, 255, 255, 0.96);

    border-radius: 10px;

    box-shadow: var(--shadow);
}


.main-nav a {
    position: relative;

    padding: 7px 34px;

    color: #555b56;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1rem;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}


.main-nav a:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;

    top: 25%;

    width: 1px;

    height: 50%;

    background: #ddd8ce;
}


.main-nav a:hover,
.main-nav a.active {
    color: var(--forest);
}


/* ========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 560px;

    display: flex;

    align-items: stretch;

    overflow: hidden;

    background-image: url("../../images/farm.jpg");

    background-size: cover;

    /*
       Keeps the barn visible toward the left.
       Adjust this later if your crop changes.
    */
    background-position: center center;
}


/*
   Transparent overlay.

   The left remains relatively clear so the
   barn stays visible.

   The right becomes darker so light text is
   readable over the trees.
*/

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(28, 40, 30, 0.05) 0%,
            rgba(28, 40, 30, 0.08) 38%,
            rgba(28, 40, 30, 0.48) 62%,
            rgba(28, 40, 30, 0.80) 100%
        );
}


.hero-inner {
    position: relative;

    z-index: 1;

    min-height: 560px;

    display: flex;

    justify-content: flex-end;

    align-items: center;
}


.hero-content {
    width: min(600px, 52%);

    color: var(--cream-light);

    padding: 75px 0 55px;
}


.eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: #c8d1be;

    font-size: 0.92rem;

    font-weight: 700;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.eyebrow::after {
    content: "";

    display: block;

    width: 65px;

    height: 2px;

    margin-top: 10px;

    background: var(--brown);
}


.hero h1 {
    margin: 0 0 22px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.5rem, 3.2vw, 3.5rem);

    font-weight: 400;
    line-height: 1.08;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.18);
}


.hero p {
    max-width: 510px;

    margin: 0;

    color: #f3f0e8;

    font-size: 1.05rem;

    line-height: 1.85;

    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.22);
}


/* ========================================
   STATISTICS
========================================= */

.stats {
    background: var(--cream);
}


.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    padding: 58px 0;
}


.stat {
    position: relative;

    text-align: center;

    padding: 0 18px;
}


.stat:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;

    top: 15%;

    width: 1px;

    height: 70%;

    background: var(--border);
}


.stat-number {
    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 3.9rem;

    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.stat-decoration {
    margin: 4px 0 3px;

    color: var(--sage);

    font-family: Georgia, serif;

    font-size: 1.2rem;
}


.stat-label {
    color: var(--brown);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.15rem;

    line-height: 1.35;
}


.stat:hover .stat-number {
    color: var(--sage);

    transform: translateY(-3px);
}

.stat-number::after {
    content: "";

    display: block;

    width: 32px;
    height: 1px;

    margin: 10px auto 8px;

    background: var(--sage);
}


/* ========================================
   WELCOME SECTION
========================================= */

.welcome {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            var(--cream-light) 0%,
            #ffffff 55%,
            #eef0e8 100%
        );
}

.welcome::after {
    content: "";

    position: absolute;

    right: -2%;
    bottom: -20px;

    width: 500px;
    height: 375px;

    background:
        url("../../images/watermark.png")
        no-repeat
        center / contain;

    opacity: 0.12;

    pointer-events: none;
}

.welcome-inner {
    position: relative;
    z-index: 1;

    max-width: 850px;

    padding-top: 70px;
    padding-bottom: 75px;

    text-align: center;
}


.section-decoration {
    margin-bottom: 10px;

    color: var(--forest);

    font-family: Georgia, serif;

    font-size: 1.6rem;
}


.welcome h2 {
    margin: 0;

    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 400;
}


.heading-rule {
    width: 60px;

    height: 2px;

    margin: 18px auto 28px;

    background: var(--brown);
}


.welcome p {
    max-width: 760px;

    margin:
        0 auto 18px;

    color: #555b56;

    font-size: 1.02rem;

    line-height: 1.9;
}



/* ========================================
   FOOTER
========================================= */

.site-footer {
    background: #edf0e7;

    border-top: 1px solid #d7dbcf;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr
        0.8fr
        1fr;

    gap: 80px;

    padding-top: 65px;

    padding-bottom: 55px;
}


/* ---------- FOOTER BRAND ---------- */

.footer-logo {
    width: 280px;

    margin-bottom: 20px;
}


.disclaimer {
    max-width: 360px;

    margin: 0;

    color: #61665f;

    font-size: 0.9rem;

    line-height: 1.75;
}


/* ---------- FOOTER SECTIONS ---------- */

.footer-section h3 {
    position: relative;

    margin:
        6px 0
        26px;

    padding-bottom: 10px;

    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.3rem;

    font-weight: 600;
}


.footer-section h3::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 55px;

    height: 2px;

    background: var(--brown);
}


.footer-section ul {
    margin: 0;

    padding: 0;

    list-style: none;
}


.footer-section li {
    margin-bottom: 10px;
}


.footer-section a {
    color: #515750;

    transition: color 0.2s ease;
}


.footer-section a:hover {
    color: var(--forest);
}


/* ---------- STABLE INFO ---------- */

.stable-info {
    margin: 0;
}


.stable-info > div {
    margin-bottom: 18px;
}


.stable-info dt {
    margin-bottom: 2px;

    color: var(--forest);

    font-weight: 700;
}


.stable-info dd {
    margin: 0;

    color: #626760;

    font-size: 0.92rem;
}


/* ---------- COPYRIGHT ---------- */

.footer-bottom {
    border-top: 1px solid #aeb7a7;

    padding:
        20px 0
        24px;

    text-align: center;
}


.footer-bottom p {
    margin: 0;

    color: #737871;

    font-size: 0.86rem;
}


/* ========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .site-logo img {
        width: 255px;
    }


    .main-nav a {
        padding-inline: 24px;
    }


    .hero {
        min-height: 520px;

        background-position: 38% center;
    }


    .hero-inner {
        min-height: 520px;
    }


   .hero-content {
    width: min(570px, 48%);
    color: var(--cream-light);
    padding: 75px 0 55px;
    }


    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(28, 40, 30, 0.12) 0%,
                rgba(28, 40, 30, 0.22) 35%,
                rgba(28, 40, 30, 0.67) 62%,
                rgba(28, 40, 30, 0.88) 100%
            );
    }


    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 45px;
    }


    .stat:nth-child(2)::after {
        display: none;
    }


    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 50px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }

}


@media (max-width: 650px) {

    .container {
        width: min(100% - 30px, 1180px);
    }


    /* ---------- HEADER MOBILE ---------- */

    .header-top {
        min-height: auto;

        flex-direction: column;

        align-items: center;

        gap: 10px;

        padding:
            20px 0
            50px;

        text-align: center;
    }


    .site-logo img {
        width: min(320px, 90vw);
    }


    .location {
        font-size: 0.9rem;
    }


    .main-nav {
        bottom: -26px;

        width: calc(100% - 30px);

        justify-content: space-around;
    }


    .main-nav a {
        padding:
            7px
            10px;

        font-size: 0.9rem;
    }


    /* ---------- HERO MOBILE ---------- */

    .hero {
        min-height: 600px;

        background-position:
            34% center;
    }


    .hero-inner {
        min-height: 600px;

        align-items: flex-end;
    }


    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(28, 40, 30, 0.10) 0%,
                rgba(28, 40, 30, 0.22) 34%,
                rgba(28, 40, 30, 0.86) 75%,
                rgba(28, 40, 30, 0.94) 100%
            );
    }


   .hero-content {
    width: min(540px, 52%);
}


    .hero h1 {
        font-size: 2.5rem;
    }


    .hero p {
        font-size: 0.97rem;
    }


    /* ---------- STATS MOBILE ---------- */

    .stats-grid {
        grid-template-columns: 1fr 1fr;

        padding:
            45px 0;
    }


    .stat {
        padding:
            15px
            10px;
    }


    .stat::after {
        display: none;
    }


    .stat-number {
        font-size: 3.2rem;
    }


    .stat-label {
        font-size: 1rem;
    }


    /* ---------- WELCOME MOBILE ---------- */

    .welcome-inner {
        padding:
            65px 0;
    }

    .welcome::after {
    width: 300px;
    height: 225px;

    right: -40px;
    bottom: 0;

    opacity: 0.08;
    }


    /* ---------- FOOTER MOBILE ---------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;

        padding:
            50px 0;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-logo {
        width: min(280px, 90%);
    }

}

/* ========================================
   ABOUT PAGE
========================================= */

.page-banner {
    position: relative;

    background:
        linear-gradient(
            180deg,
            var(--cream-light) 0%,
            var(--cream) 100%
        );

    border-bottom: 1px solid var(--border);
}

.page-banner-inner {
    padding: 85px 0 70px;

    text-align: center;
}

.page-banner h1 {
    margin: 0;

    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.4rem, 4vw, 3.6rem);

    font-weight: 400;
}

.page-banner p {
    max-width: 660px;

    margin: 0 auto;

    color: #61665f;

    font-size: 1rem;

    line-height: 1.8;
}


/* ---------- ABOUT SECTIONS ---------- */

.about-section {
    position: relative;

    padding: 90px 0;

    background: var(--cream-light);
}

.about-owner {
    background: #edf0e7;
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(320px, 0.7fr);

    align-items: center;

    gap: 80px;
}

.owner-grid {
    grid-template-columns:
        minmax(320px, 0.7fr)
        minmax(0, 1.3fr);
}

.about-copy {
    max-width: 700px;
}

.section-label {
    margin-bottom: 8px;

    color: var(--brown);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.about-copy h2 {
    margin:
        0 0
        24px;

    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2rem, 3.5vw, 3rem);

    font-weight: 400;
}

.about-copy p {
    margin:
        0 0
        18px;

    color: #555b56;

    font-size: 1rem;

    line-height: 1.9;
}


/* ---------- DECORATIVE IMAGE AREAS ---------- */

.about-mark,
.owner-mark {
    min-height: 340px;

    background:
        url("../../images/watermark.png")
        no-repeat
        center / contain;

    opacity: 0.2;
}

.owner-mark {
    transform: scaleX(-1);

    opacity: 0.14;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 850px) {

    .about-grid,
    .owner-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-mark,
    .owner-mark {
        min-height: 240px;

        order: 2;
    }

    .owner-grid .about-copy {
        order: 1;
    }

}


@media (max-width: 650px) {

    .page-banner-inner {
        padding:
            70px 0
            55px;
    }

    .about-section {
        padding:
            65px 0;
    }

    .about-mark,
    .owner-mark {
        min-height: 190px;
    }

}

/* ========================================
   HORSES PAGE
========================================= */


/* ---------- DIRECTORY LINKS ---------- */

.horse-directory {
    background: var(--forest);

    padding: 28px 0;
}

.horse-jump-links {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

    color: var(--cream-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.05rem;
}

.horse-jump-links a {
    color: var(--cream-light);

    transition:
        color 0.2s ease;
}

.horse-jump-links a:hover {
    color: #ccd4c3;
}

.horse-jump-links span {
    color: var(--brown);
}


/* ---------- HORSE SECTIONS ---------- */

.horse-section {
    padding: 85px 0;

    background: var(--cream-light);
}

.horse-section-alt {
    background: #edf0e7;
}

.horse-section-header {
    max-width: 700px;

    margin-bottom: 45px;
}

.horse-section-header h2 {
    margin:
        0 0
        12px;

    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.2rem, 4vw, 3rem);

    font-weight: 400;
}

.horse-section-header p {
    margin: 0;

    color: #61665f;

    font-size: 1rem;

    line-height: 1.8;
}


/* ---------- HORSE GRID ---------- */

.horse-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* ---------- HORSE CARD ---------- */

.horse-card {
    display: flex;

    flex-direction: column;

    min-height: 390px;

    padding: 32px;

    background: rgba(255, 255, 255, 0.86);

    border:
        1px solid
        rgba(120, 134, 107, 0.18);

    border-radius: 10px;

    box-shadow:
        0 3px 10px
        rgba(38, 55, 43, 0.04);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.horse-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px
        rgba(38, 55, 43, 0.12);

    border-color:
        rgba(120, 134, 107, 0.35);
}

.horse-card h3 {
    margin:
        0 0
        4px;

    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.65rem;

    font-weight: 400;
}

.horse-meta {
    margin-bottom: 24px;

    color: var(--brown);

    font-size: 0.86rem;

    font-weight: 700;

    letter-spacing: 0.05em;
}


/* ---------- CARD DETAILS ---------- */

.horse-details {
    margin:
        0 0
        28px;
}

.horse-details > div {
    display: grid;

    grid-template-columns:
        90px 1fr;

    gap: 12px;

    padding:
        7px 0;

    border-bottom:
        1px solid
        rgba(206, 198, 183, 0.5);
}

.horse-details dt {
    color: var(--forest);

    font-weight: 700;

    font-size: 0.9rem;
}

.horse-details dd {
    margin: 0;

    color: #5d625d;

    font-size: 0.9rem;
}


/* ---------- VISIT STALL BUTTON ---------- */

.stall-button {
    align-self: flex-start;

    margin-top: auto;

    padding:
        10px 21px;

    background: var(--forest);

    color: var(--cream-light);

    border-radius: 6px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 0.95rem;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.stall-button:hover {
    background: var(--sage);

    transform: translateY(-1px);
}


/* ---------- BACK LINK ---------- */

.back-link {
    margin-top: 38px;

    text-align: right;
}

.back-link a {
    color: var(--brown);

    font-size: 0.9rem;

    transition: color 0.2s ease;
}

.back-link a:hover {
    color: var(--forest);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 950px) {

    .horse-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .horse-directory {
        padding:
            20px 0;
    }

    .horse-jump-links {
        gap:
            10px
            14px;

        font-size: 0.95rem;
    }

    .horse-section {
        padding:
            65px 0;
    }

    .horse-grid {
        grid-template-columns: 1fr;
    }

    .horse-card {
        min-height: auto;
    }

    .back-link {
        text-align: center;
    }

}

/* ========================================
   CONTACT PAGE
========================================= */

.contact-section {
    background: var(--cream-light);

    padding: 90px 0;
}

.contact-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 0.7fr);

    align-items: center;

    gap: 80px;
}

.contact-card {
    max-width: 650px;
}

.contact-card h2 {
    margin:
        0 0
        30px;

    color: var(--forest);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.2rem, 4vw, 3rem);

    font-weight: 400;
}

.contact-list {
    border-top:
        1px solid
        var(--border);
}

.contact-item {
    display: grid;

    grid-template-columns:
        130px 1fr;

    gap: 25px;

    padding:
        18px 0;

    border-bottom:
        1px solid
        var(--border);
}

.contact-label {
    color: var(--forest);

    font-weight: 700;
}

.contact-value {
    color: #5d625d;
}

.contact-value a {
    color: var(--brown);

    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: var(--forest);
}


/* ---------- DECORATIVE MARK ---------- */

.contact-mark {
    min-height: 330px;

    background:
        url("../../images/watermark.png")
        no-repeat
        center / contain;

    opacity: 0.16;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 800px) {

    .contact-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .contact-mark {
        min-height: 230px;
    }

}


@media (max-width: 650px) {

    .contact-section {
        padding:
            65px 0;
    }

    .contact-item {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .contact-mark {
        min-height: 190px;
    }

}