﻿body {
    background-color: #e3e2db;
    font-family: Arial, Helvetica, sans-serif;
}
/* =========================================
   1. MOBILE FIRST (Default: < 768px)
   ========================================= */
.item-col {
    margin-bottom: 15px; /* Spacing between the 6 rows */
}

.media-mobile-wrapper {
    display: flex; /* Places image and text side-by-side */
    align-items: center; /* Vertically centers text next to the image */
}

.img-container {
    flex: 0 0 100px; /* Fixed width for the image container */
    max-width: 100px;
    margin-right: 15px; /* Space between image and text */
}

.text-container {
    flex: 1; /* Takes up remaining horizontal space */
}

    .text-container p {
        margin: 0; /* Removes default paragraph margins for clean alignment */
    }
.hero-banner {
    /* Bottom-heavy dark gradient keeps the top photo bright while making bottom text readable */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 35%, rgba(15, 22, 18, 0.92) 75%), url('../content/landingpages/hero_m.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* Pushes the text to the bottom half of the tall mobile image */
    min-height: 620px;
    padding: 260px 15px 35px;
    color: #ffffff;
}
.about-banner {
    /* Bottom-heavy dark gradient keeps the top photo bright while making bottom text readable */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 35%, rgba(15, 22, 18, 0.92) 75%), url('../content/landingpages/banner2_m.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* Pushes the text to the bottom half of the tall mobile image */
    min-height: 620px;
    padding: 260px 15px 35px;
    color: #ffffff;
}

.hero-content, .about-banner h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 15px;
    line-height: 1.5;
    color: #e6e6e6;
    margin-bottom: 24px;
}

/* Mobile stacked full-width buttons */
.btn-hero-primary,
.btn-hero-secondary {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 10px;
    text-align: center;
}

.btn-hero-primary {
    background-color: #364e36;
    border: 1px solid #364e36;
    color: #ffffff;
}

    .btn-hero-primary:hover,
    .btn-hero-primary:focus {
        background-color: #293d29;
        color: #ffffff;
    }

.btn-hero-secondary {
    background-color: rgba(20, 25, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

    .btn-hero-secondary:hover,
    .btn-hero-secondary:focus {
        background-color: #ffffff;
        color: #1a241a;
    }

.page-section {
    padding: 60px 0;
}

/* Alternating background colors matching your mockup */
.bg-cream {
    background-color: #f4f1ea;
}

.bg-dark-olive {
    background-color: #1f281e;
    color: #ffffff;
}
.text-container h3 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 20px;
        line-height: 1.15;
        margin-top: 0;
        margin-bottom: 15px;
}
.section-header h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 15px;
}.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.section-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1f241e;
    text-decoration: none;
}
/* =========================================
   BOTTOM SECTIONS: MOBILE FIRST (< 768px)
   ========================================= */
.ranch-section {
    margin-top:10px;
    padding-top: 35px;
    padding-bottom: 35px;
}

.ranch-mobile-header {
    margin-bottom: 18px;
}

.ranch-main-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 18px;
}

.ranch-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #2b302a;
    margin-bottom: 18px;
}

.btn-ranch-cta {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background-color: #364e36;
    border: 1px solid #364e36;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 18px;
}

    .btn-ranch-cta:hover,
    .btn-ranch-cta:focus {
        background-color: #293d29;
        color: #ffffff;
    }

.ranch-thumb-img {
    width: 100%;
    height: 115px;
    object-fit: cover;
}

/* Learn More Mobile Rows */
.learn-more-section {
    background-color: #eceae2;
    padding-top: 35px;
    padding-bottom: 35px;
}

.learn-more-intro {
    margin-bottom: 18px;
}

.learn-col {
    margin-bottom: 12px;
}

.learn-item {
    display: flex;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid #dcd9cf;
    color: #1f241e;
    text-decoration: none;
}

    .learn-item:hover,
    .learn-item:focus {
        text-decoration: none;
        color: #1f241e;
    }

.learn-icon-box {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    background-color: #ffffff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 20px;
    color: #1f241e;
}

.learn-text {
    flex: 1;
}

.learn-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    margin: 0 0 3px;
}

.learn-desc {
    font-size: 13px;
    line-height: 1.4;
    color: #4d534b;
    margin: 0;
}

.learn-arrow {
    font-size: 18px;
    color: #2b302a;
    margin-left: 10px;
}

/* Closing Banner Mobile */
.closing-cta-banner {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(15, 22, 18, 0.25), rgba(15, 22, 18, 0.78)), url('content/landingpages/closing-cta-m.jpg');
    background-size: cover;
    background-position: center center;
    padding: 150px 15px 35px;
    text-align: center;
    color: #ffffff;
}

.closing-script {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 20px;
    margin-bottom: 18px;
}

.btn-closing-cta {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background-color: #364e36;
    border: 1px solid #364e36;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 3px;
}

    .btn-closing-cta:hover,
    .btn-closing-cta:focus {
        background-color: #293d29;
        color: #ffffff;
    }
.workshop-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.workshop-card-link:hover,
.workshop-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.workshop-learn-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #364e36;
}

.workshop-card-link:hover .workshop-learn-more {
    text-decoration: underline;
}
/* =========================================
   2. TABLET & DESKTOP (>= 768px)
   ========================================= */
@media (min-width: 768px) {
    .section-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 24px;
    }
    .section-header-left {
        display: flex;
        flex-direction: column; /* Keeps eyebrow stacked right above the h2 */
    }
    .section-title {
        margin-bottom: 0;
    }
    .testimonial-img {
        height: 185px; /* Keeps all 3 side-by-side photos uniform in height */
		object-position: top center;
    }
    .section-link {
        flex-shrink: 0; /* Prevents the link from wrapping or squeezing */
        margin-left: 20px; /* Keeps breathing room if the title is ever long */
        white-space: nowrap;
    }
    .hero-banner {
        /* Left-side dark gradient keeps Scott & the horse clear on the right */
        background-image: linear-gradient(to right, rgba(15, 22, 18, 0.5) 0%, rgba(15, 22, 18, 0.25) 45%, rgba(0, 0, 0, 0) 75%), url('../content/landingpages/hero.jpg');
        background-position: center center;
        min-height: 480px;
        padding: 80px 0;
    }

    .about-banner {
        /*  */
        background-image: url('../content/landingpages/banner2.jpg');
        background-size: cover;
        background-position: right center;
        min-height: 400px;
        padding: 80px 0;
    }

    .hero-content, about-banner h1 {
        font-size: 40px;
    }

    /* Side-by-side inline buttons on desktop */
    .btn-hero-primary,
    .btn-hero-secondary {
        display: inline-block;
        width: auto;
        margin-right: 10px;
        margin-bottom: 0;
        padding: 10px 18px;
    }

    .item-col {
        text-align: center; /* Center aligns image and text beneath it */
    }

    .media-mobile-wrapper {
        display: block; /* Resets flexbox back to stacked layout */
    }

    .img-container {
        flex: none;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 10px; /* Space between image and text */
    }

        .img-container img {
            display: inline-block;
            max-width: 100%;
        }

    .text-container {
        flex: none;
    }
    .ranch-section {
        padding-top: 0;
        padding-bottom: 0;
    }

    .ranch-container {
        padding-left: 0;
        padding-right: 0;
    }

    .ranch-row {
        display: flex;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
    }

    .ranch-main-col,
    .ranch-copy-col,
    .ranch-thumbs-col {
        padding-left: 0;
        padding-right: 0;
    }

    .ranch-main-img {
        height: 360px;
        margin-bottom: 0;
    }

    .ranch-copy-col {
        padding: 30px 40px;
    }

    .btn-ranch-cta {
        display: inline-block;
        width: auto;
        background-color: #263326;
        border-color: #263326;
        padding: 12px 24px;
        margin-bottom: 0;
    }

    .ranch-thumbs-row {
        margin-left: 0;
        margin-right: 0;
    }

    .ranch-thumb-item {
        padding-left: 0;
        padding-right: 0;
    }

    .ranch-thumb-img {
        height: 180px; /* Two 180px images = 360px total matching the left photo */
    }

    /* Learn More Desktop */
    .learn-more-sub {
        font-size: 13px;
        line-height: 1.5;
        color: #4d534b;
    }

    .learn-item {
        display: block;
        border-bottom: none;
        padding: 0 10px;
    }

    .learn-icon-box {
        margin-bottom: 14px;
    }

    .learn-heading {
        font-size: 13px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    .learn-action {
        display: inline-block;
        margin-top: 12px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #1f241e;
    }

    /* Closing Banner Desktop */
    .closing-cta-banner {
        background-image: linear-gradient(rgba(15, 22, 18, 0.72), rgba(15, 22, 18, 0.72)), url('content/landingpages/closing-cta-d.jpg');
        padding: 34px 0;
        text-align: left;
    }

    .closing-cta-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .closing-script {
        font-size: 26px;
        margin-bottom: 0;
    }

    .btn-closing-cta {
        display: inline-block;
        width: auto;
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.65);
        padding: 12px 24px;
        flex-shrink: 0;
    }

        .btn-closing-cta:hover,
        .btn-closing-cta:focus {
            background-color: #ffffff;
            color: #1a241a;
        }
}
/* =========================================
   SHARED CARD STYLING (Desktop & Mobile)
   ========================================= */
.testimonial-img {
    width: 100%;
    object-fit: cover;
	object-position: top center;
    border-radius: 2px;
}

.testimonial-quote {
    font-size: 13px;
    line-height: 1.5;
    color: #2b302a;
    margin-bottom: 10px;
}

.testimonial-author {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1f241e;
}


/* =========================================
   MOBILE HORIZONTAL SWIPE (< 768px)
   ========================================= */
@media (max-width: 767px) {

    .testimonial-row {
display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        touch-action: pan-x pan-y; /* Allows BOTH horizontal swiping and vertical page scrolling */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin-left: 0;
        margin-right: 0;
        padding-bottom: 12px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .testimonial-row::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }

    .testimonial-col {
        /* 85% width lets the edge of the next card peek in so users know they can swipe */
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
    }

    .testimonial-img {
        height: 210px;
        margin-bottom: 15px;
		object-position: top center;
    }

    .testimonial-card {
        background-color: #ffffff;
        border: 1px solid #e2dfd7;
        border-radius: 4px;
        padding: 15px;
    }

    .testimonial-quote {
        font-size: 14px;
    }

    .btn-mobile-outline {
        display: block;
        width: 100%;
        padding: 12px 18px;
        border: 1px solid #8c9288;
        background-color: transparent;
        color: #1f241e;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        border-radius: 3px;
    }
}