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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #2D1F16;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    opacity: 0;
}

.skip-link:focus {
    top: 0;
    opacity: 1;
}

/* Header Navigation */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    background: white;
    padding: 0.5rem;
}

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

.nav-items {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-items a {
    text-decoration: none;
    color: #2D1F16;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s, outline 0.2s;
}

.nav-items a:hover,
.nav-items a:focus {
    opacity: 0.7;
    outline: 2px solid #2D1F16;
    outline-offset: 4px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2D1F16;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #2D1F16;
    outline-offset: 2px;
}

/* Page Header */
.page-header {
    background: #2D1F16;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content Area */
.content-wrapper {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

/* Left Content Column */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    color: #2D1F16;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-section h3 {
    color: #2D1F16;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin-bottom: 1rem;
    margin-left: 2rem;
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Full Width Image with Text */
.full-width-image {
    margin: 2rem 0;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

.full-width-image p {
    margin-top: 1rem;
    color: #666;
}

/* Two Images Side by Side */
.two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.image-item p {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Staggered Text and Image */
.staggered-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.staggered-content.reverse {
    direction: rtl;
}

.staggered-content.reverse > * {
    direction: ltr;
}

.staggered-text h2 {
    color: #2D1F16;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.staggered-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.staggered-image img {
    width: 100%;
    height: auto;
}

/* Side by Side Content (Not Staggered) */
.side-by-side-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.side-by-side-image img {
    width: 100%;
    height: auto;
}

.side-by-side-text h2 {
    color: #2D1F16;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.side-by-side-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.side-by-side-text .btn {
    margin-top: 1rem;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-item {
    display: flex;
    flex-direction: column;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s, outline 0.2s;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
}

.gallery-image::before {
    content: '';
    display: block;
    padding-bottom: 125%;
}

.gallery-image:hover,
.gallery-image:focus {
    transform: scale(1.02);
    outline: 2px solid #2D1F16;
    outline-offset: 2px;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    margin-top: 0.75rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    opacity: 0.7;
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #2D1F16;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s, outline 0.2s;
    border-radius: 4px;
}

.btn:hover,
.btn:focus {
    background: #3d2b1f;
    outline: 2px solid #2D1F16;
    outline-offset: 2px;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.btn-secondary {
    background: white;
    color: #2D1F16;
    border: 2px solid #2D1F16;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #f5f5f5;
}

/* Content Boxes */
.info-box {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #2D1F16;
}

.info-box h3 {
    margin-top: 0;
}

.warning-box {
    background: #fff8e6;
    border-left: 4px solid #f4b942;
}

.success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

/* Quote Block */
.quote-block {
    border-left: 4px solid #2D1F16;
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
}

/* Image with Caption */
.image-with-caption {
    margin: 2rem 0;
}

.image-with-caption img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-with-caption figcaption {
    margin-top: 0.75rem;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

/* Two Column Text */
.two-column-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Accordion/FAQ */
.accordion {
    margin: 2rem 0;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    background: #f9f9f9;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2D1F16;
    transition: background 0.3s;
    border: none;
    width: 100%;
    text-align: left;
}

.accordion-header:hover,
.accordion-header:focus {
    background: #f0f0f0;
    outline: 2px solid #2D1F16;
    outline-offset: -2px;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 1.5rem;
    max-height: 500px;
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-icon.active {
    transform: rotate(180deg);
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th {
    background: #2D1F16;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

table tr:hover {
    background: #f9f9f9;
}

/* Callout Banner */
.callout-banner {
    background: #2D1F16;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.callout-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.callout-banner .btn {
    background: white;
    color: #2D1F16;
    margin-top: 1rem;
}

.callout-banner .btn:hover,
.callout-banner .btn:focus {
    background: #f5f5f5;
    outline: 2px solid white;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.sidebar-section h3 {
    color: #2D1F16;
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 1.3rem;
}

/* Contact Button */
.contact-btn {
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Farm Shows */
.farm-show {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.farm-show:last-child {
    border-bottom: none;
}

.farm-show h4 {
    color: #2D1F16;
    margin-bottom: 0.5rem;
}

.farm-show p {
    font-size: 0.9rem;
    color: #666;
}

/* Testimonial */
.testimonial {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid #2D1F16;
    font-style: italic;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: #2D1F16;
}

/* Ready to Get Started Box */
.ready-box {
    background: #2D1F16;
    color: white;
}

.ready-box h3 {
    color: white;
}

.ready-box p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ready-box .btn {
    background: white;
    color: #2D1F16;
}

.ready-box .btn:hover,
.ready-box .btn:focus {
    background: #f5f5f5;
    outline: 2px solid white;
}

.ready-box .btn i {
    margin-right: 0.5rem;
}

/* Quick Links */
.quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    color: #2D1F16;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.quick-links a:hover,
.quick-links a:focus {
    color: #3d2b1f;
    outline: 2px solid #2D1F16;
    outline-offset: 2px;
}

.quick-links i {
    color: #2D1F16;
}

/* Related Pages */
.related-pages {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-pages li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.related-pages li:last-child {
    border-bottom: none;
}

.related-pages a {
    color: #2D1F16;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.related-pages a:hover,
.related-pages a:focus {
    text-decoration: underline;
}

.related-pages p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Footer */
footer {
    background: #2D1F16;
    color: white;
    padding: 2rem 5%;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Breakpoints (Foundation style) */
@media screen and (max-width: 1023px) {
    .nav-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-items li {
        border-bottom: 1px solid #eee;
    }

    .nav-items li:last-child {
        border-bottom: none;
    }

    .nav-items a {
        display: block;
        padding: 1rem;
        transition: background 0.3s, padding-left 0.3s;
    }

    .nav-items a:hover {
        background: #f5f5f5;
        padding-left: 1.5rem;
    }

    .nav-items.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .staggered-content,
    .side-by-side-content {
        grid-template-columns: 1fr;
    }

    .two-column-text {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 639px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .two-images,
    .image-gallery {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }
}