﻿:root {
    --primary-color: #00A451;
    --secondary-color: #CAD22B;
    --tertiary-color: #929c42;
    --neutral-light: #E5DCB8;
    --neutral-dark: #2A2A2A;
    --white: #FFFFFF;
    --accent1: #fad039;
    --font-primary: 'Poppins', 'Roboto', sans-serif;
    --font-title: 'Makata', 'Poppins', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--neutral-dark);
    line-height: 1.6;
}

.main-header {
    background: var(--accent1);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 150px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-family: var(--font-title);
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.hero {
    position: relative;
    margin-top: 60px;
    height: 753px;
    overflow: hidden;
}

.recipe-hero {
    position: relative;
    margin-top: 60px;
    height: 753px;
    overflow: hidden;
}

.hero img.lazy,
.recipe-hero img.lazy {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-width: 100%;
    min-height: 100%;
    background: #f0f0f0;
}

.recipe-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 15rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.subheadline {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-primary,
.cta-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: transform 0.2s;
}

.cta-primary {
    background: var(--accent1);
    color: var(--neutral-dark);
}

.cta-secondary {
    border: 2px solid white;
    color: white !important;
    border-color: currentColor;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    background: var(--neutral-light);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: white;
}

.card-image {
    height: 200px;
    background: #ddd;
}

.contact-section {
    padding: 4rem 5%;
    text-align: center;
    background: var(--primary-color);
    color: white;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.main-footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h5 {
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:last-child {
    margin-bottom: 0;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--neutral-dark);
}

.card-content {
    padding: 1.5rem;
}

.card-cta {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color) !important;
    text-decoration: none;
    font-weight: 500;
}

.card-cta:hover {
    text-decoration: underline;
    color: var(--primary-color) !important;
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cta-primary:hover {
    background: #c69500;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-content {
    padding: 3rem 1rem;
}

.contact-content .cta-primary {
    margin-top: 1.5rem;
    display: inline-block;
}

section {
    scroll-margin-top: 100px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.main-footer a {
    color: white;
}

.main-footer a:hover {
    color: var(--secondary-color);
}

.cta-secondary:hover {
    color: var(--secondary-color) !important;
}

.recipe-page {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 0;
}

.recipe-content {
    padding: 1rem 0 2rem 0;
}

.recipe-content p {
    margin-bottom: 1.5rem;
}

.intro-section,
.recipe-section {
    margin-bottom: 3rem;
}

.intro-section h2,
.recipe-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.recipe-section ul,
.recipe-section ol {
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.recipe-section li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.single-image {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.single-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.caption {
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
}

.pull-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

ul,
ol {
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}


#more-articles {
    padding-right: 5%;
    padding-bottom: 4rem;
    padding-left: 5%;
    text-align: center;
}

#more-articles-title {
    padding-bottom: 1rem;
}

.main-header nav {
    position: relative;
}

#our-producers {
    padding: 4rem 5%;
    background: var(--secondary-color);
    text-align: center;
}

.producer-carousel {
    height: 360px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.producer-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.producer-carousel-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
}

.producer-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producer-info {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    padding: auto;
    border-radius: 4px;
    text-align: center;
    padding-top: 12%;
}

.producer-info h2 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.learn-more {
    border: 2px solid var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 7px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
}

.producer-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 2px white, 0 0 4px white;
    background-color: transparent;
    transition: background 0.3s;
    font-size: 40px;
}

.producer-carousel-arrow:hover {
    color: white;
    text-shadow: 1px 1px 2px black,

        -1px -1px 2px black,

        1px -1px 2px black,

        -1px 1px 2px black;
}

.producer-carousel-arrow.prev {
    left: 1rem;
}

.producer-carousel-arrow.next {
    right: 1rem;
}

.stories {
    margin-top: 4rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-tile {
    text-decoration: none;
    color: var(--neutral-dark);
}

.story-tile img {
    width: 100%;
    max-width: 373x;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.story-tile h4 {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.all-stories {
    display: block;
    text-align: right;
    color: var(--secondary-color);
    font-weight: 500;
    max-width: 1200px;
    margin: 2rem auto;
}

#product-showcase {
    padding: 4rem 5%;
    background: var(--neutral-light);
}

.product-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.product-carousel h2 {
    text-align: center;
}


@media (min-width: 769px) {
    .product-carousel h2:first-child {
        padding-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .product-carousel h2 {
        padding-bottom: 1rem;
    }
}

.product-carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.product-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 1rem;
}

.product-tile {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-image-container {
    width: 45%;
    height: auto;
    position: relative;
    padding-top: 35.5%;
    overflow: hidden;
    border-radius: 8px;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.product-info {
    width: 55%;
    padding: 2rem;
    background: var(--neutral-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-info .cta-primary {
    margin-top: auto;
    align-self: flex-start;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.recipe-tile {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.recipe-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.recipe-tile:hover .recipe-overlay {
    opacity: 0.9;
}

.product-carousel-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    text-shadow: 0 0 2px white, 0 0 4px white;
    background-color: transparent;
    transition: background 0.3s;
    font-size: 40px;
}

.product-carousel-arrow.prev {
    left: 1.5rem;
}

.product-carousel-arrow.next {
    right: 1.5rem;
}

.product-carousel-arrow:hover {
    color: white;
    text-shadow: 1px 1px 2px black,

        -1px -1px 2px black,

        1px -1px 2px black,

        -1px 1px 2px black;
}

.hero h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1.5rem auto 0;
}

.about-us-content {
    padding: 5rem 5% 3rem;
    margin-top: 60px;
    background: #faf8f5;
}

.about-us-heading {
    text-align: center;
    font-size: 2.4rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
    color: #1a472a;
    margin-bottom: 3.5rem;
    letter-spacing: -0.5px;
}

.about-us-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1.5rem auto 0;
}

#our-producers,
#product-showcase {
    position: relative;
    overflow: hidden;
}

.corner-decoration {
    position: absolute;
    width: 150px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

.corner-decoration.top-left {
    top: 9px;
    left: 1px;
}

.corner-decoration.top-right {
    top: 9px;
    right: 1px;
}

#our-producers h2,
#our-producers .subheadline,
#our-producers .producer-carousel,
#our-producers .stories {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--neutral-light);
        padding: 1rem;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block !important;
        margin-left: auto;
        padding: 0.5rem;
        z-index: 1001;
    }

    .logo {
        font-size: 1.2rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        height: 55px;
        width: auto;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .recipe-hero {
        height: 50vh;
    }

    .recipe-content {
        padding: 1rem;
    }

    .recipe-content p {
        margin-bottom: 1rem;
    }

    .intro-section h2,
    .recipe-section h2 {
        font-size: 1.5rem;
    }

    .pull-quote {
        font-size: 1rem;
    }

    .recipe-section ul,
    .recipe-section ol {
        padding-left: 1.5rem;
    }
}

@media (min-width: 769px) {
    .main-header nav {
        padding: 1.5rem 5%;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-links {
        width: 100%;
    }

    .nav-links li:nth-child(-n+1) {
        padding-left: calc(50% - 305px);
    }

    .nav-links li:nth-child(3) {
        padding-left: 275px;
    }

    .main-footer {
        padding: 4rem 5%;
    }
}

@media (max-width: 768px) {
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 769px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stories-grid .story-tile {
        display: block;
    }
}

@media (max-width: 768px) {
    #our-producers {
        padding: 2rem 5%;
    }

    #our-producers h2 {
        font-size: 1.8rem;
    }

    .stories h3 {
        font-size: 1.5rem;
    }

    .producer-carousel {
        height: 250px;
    }

    .producer-info {
        padding: 0.5rem;
        padding-top: 17%;
    }

    .producer-info h3 {
        font-size: 1rem;
    }

    .learn-more {
        font-size: 0.9rem;
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stories-grid .story-tile:nth-child(n+3) {
        display: none;
    }

    .story-tile img {
        height: 150px;
    }

    .story-tile h4 {
        font-size: 1rem;
    }

    .producer-carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .product-image-container {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .product-info {
        padding: 1.5rem;
    }

    .product-info .cta-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0rem;
        padding-top: 50%;
    }

    .product-tile {
        flex-direction: column;
        gap: 0;
    }

    .product-tile img,
    .product-info {
        width: 100%;
        height: auto;
    }

    .recipes-grid {
        grid-template-columns: 1fr;
    }

    .product-carousel-arrow {
        top: 16%;
    }

    .recipe-tile img {
        width: 100%;
        height: 400px;
        object-fit: auto;
    }
}

@media (max-width: 576px) {
    .product-image-container {
        width: 100%;
        height: 200px;
    }

    .product-carousel-arrow {
        top: 12%;
    }

    .hero-content {
        padding: 0rem;
        padding-top: 50%;
    }

    .producer-info {
        padding: 0.5rem;
        padding-top: 29%;
    }
}

@media (max-width: 768px) {
    .product-info {
        padding: 1.5rem;
    }

    .product-info .cta-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .corner-decoration {
        width: 120px;
        top: -15px;
    }

    .corner-decoration.top-left {
        left: 1px;
    }

    .corner-decoration.top-right {
        right: 1px;
    }
}