/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* New Color Palette */
    --warm-cream: #EAE6E1;
    --soft-beige: #E5E0DA;
    --lavender-grey: #C2BFCB;
    --olive-green: #7E7B46;
    --rich-brown: #583B1F;
    
    /* Semantic Color Assignments */
    --primary-color: var(--olive-green);
    --secondary-color: var(--lavender-grey);
    --accent-color: var(--rich-brown);
    --light-green: var(--lavender-grey);
    --cream: var(--warm-cream);
    --warm-white: #FFFFFF;
    --text-dark: var(--rich-brown);
    --text-light: #6B5B5B;
    
    /* Typography */
    --font-brand: 'Sansita', cursive;
    --font-heading: 'Nunito Sans', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 4rem 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-cream);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 2rem;
    margin: 0;
    border-radius: 0;
    text-align: center;
    position: relative;
    z-index: 100;
}

.alert-success {
    background-color: var(--olive-green);
    color: var(--warm-white);
    border-bottom: 2px solid var(--rich-brown);
}

.alert-error {
    background-color: var(--rich-brown);
    color: var(--warm-white);
    border-bottom: 2px solid var(--olive-green);
}

.alert[hidden] {
    display: none;
}

.alert p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    background-color: var(--warm-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 4vw;
}

.nav-container {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Social Icons */
.social-link {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Fullscreen with Background Image */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    padding: 4vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 4vw;
    left: 4vw;
    right: 4vw;
    bottom: 4vw;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 4rem;
    border-radius: 15px;
    min-width: 60vw;
}

.hero-text-center {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Who We Are Section */
.who-we-are {
    padding: var(--section-padding);
    background-color: var(--warm-cream);
}

.who-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.who-image {
    flex: 1;
}

.who-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.who-text {
    flex: 1;
    text-align: left;
}

.who-text .section-title {
    font-family: var(--font-brand);
    font-size: 2.5rem;
    color: rgb(88, 59, 31);
    margin-bottom: 1.5rem;
}

.who-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: rgb(88, 59, 31);
    color: white;
    border-color: rgb(88, 59, 31);
}

.btn-primary:hover {
    background-color: transparent;
    color: rgb(88, 59, 31);
    border-color: rgb(88, 59, 31);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Sections */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Features Section */
/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--warm-cream);
}

.contact-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.contact-text {
    flex: 1;
}

.contact-text .section-title {
    font-family: var(--font-brand);
    font-size: 2.5rem;
    color: rgb(88, 59, 31);
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--soft-beige);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-body);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--lavender-grey);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(88, 59, 31);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* About Preview Section */
.about-preview {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Products Preview Section */
.products-preview {
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--soft-beige);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    position: relative;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.products-cta {
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Page Layouts */
.page-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Story Page Styles */
.story-content {
    padding: var(--section-padding);
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Values Section */
.values {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.value-card {
    background-color: var(--soft-beige);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-content {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--warm-white);
    border-radius: 10px;
}

.contact-icon {
    font-size: 2rem;
    margin-top: 0.25rem;
}

.contact-details h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Contact Form */
.contact-form-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: var(--soft-beige);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--cream);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Farm Visit Section */
.farm-visit {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.farm-visit-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.farm-visit-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.farm-visit-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.visit-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--soft-beige);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 1.5rem;
}

/* Products Page Styles */
.products-content {
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--soft-beige);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0 2vw;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-fullscreen {
        height: 80vh;
        padding: 2vw;
    }
    
    .hero-background {
        top: 2vw;
        left: 2vw;
        right: 2vw;
        bottom: 2vw;
        border-radius: 15px;
    }
    
    .hero-overlay {
        padding: 2rem 1rem;
        min-width: 80vw;
    }
    
    .hero-title {
        font-size: 2.8rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    .who-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .who-text {
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .visit-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 1.5vw;
    }
    
    .hero-fullscreen {
        padding: 1.5vw;
    }
    
    .hero-background {
        top: 1.5vw;
        left: 1.5vw;
        right: 1.5vw;
        bottom: 1.5vw;
        border-radius: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-overlay {
        padding: 1.5rem 1rem;
        min-width: 90vw;
    }
    
    .btn {
        text-align: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}