/* Nelson Farms Website Styles - Clean Professional Design */

/* CSS Variables for Refined Earth-Tone Palette */
:root {
    --primary-green: #2d5016;      /* Deep forest green */
    --secondary-green: #4a7c3e;    /* Medium green */
    --accent-brown: #8b4513;       /* Saddle brown */
    --light-brown: #d2b48c;        /* Tan */
    --warm-cream: #f5f5dc;         /* Beige */
    --golden-yellow: #daa520;      /* Goldenrod */
    --earth-orange: #cd853f;       /* Peru */
    --dark-text: #2c3e50;          /* Dark blue-gray */
    --light-text: #ffffff;
    --border-light: #e8e8e8;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--warm-cream);
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: 2.75rem; 
    font-weight: 700;
    line-height: 1.2;
}
h2 { 
    font-size: 2.25rem; 
    font-weight: 600;
    line-height: 1.3;
}
h3 { 
    font-size: 1.5rem; 
    font-weight: 500;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-size: 1rem;
    line-height: 1.65;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-green);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation - Restored Original Style with Improvements */
.header {
    background-color: var(--primary-green);
    box-shadow: 0 2px 15px var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.nav-brand a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: var(--golden-yellow);
}

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

.nav-link {
    color: var(--light-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
}

.nav-link:hover {
    background-color: var(--secondary-green);
    color: var(--light-text);
    text-decoration: none;
}

/* Hero Section - Simplified and Improved */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-img.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--light-text);
    max-width: 700px;
    padding: 2rem;
    background: rgba(45, 80, 22, 0.85);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 2.8rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--golden-yellow);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

/* CTA Button - Simplified Professional Style */
.cta-button {
    background-color: var(--golden-yellow);
    color: var(--primary-green);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.cta-button:hover {
    background-color: var(--earth-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
    color: var(--primary-green);
}

/* Page Sections */
.mission {
    background-color: var(--light-text);
    text-align: center;
    padding: 4rem 0;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    margin-bottom: 2rem;
    position: relative;
}

.mission-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--earth-orange));
    border-radius: 2px;
}

.mission-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-text);
}

/* Values Section */
.values {
    background-color: var(--warm-cream);
    padding: 4rem 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.value-item {
    background-color: var(--light-text);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--earth-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Enhanced Location Section */
.location {
    background: linear-gradient(135deg, var(--light-text) 0%, #fafafa 100%);
    padding: 4rem 0;
}

.location h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.location h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--earth-orange));
    border-radius: 2px;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a2f0d 100%);
    color: var(--light-text);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: var(--golden-yellow);
    text-decoration: underline;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--light-text);
    text-decoration: none;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-backdrop.active {
    display: block;
    opacity: 1;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-green);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 80px 20px 20px 20px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu-active {
        display: flex;
        right: 0;
    }
    
    .nav-menu .nav-link {
        width: 220px;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
        font-size: 1.1rem;
        background-color: rgba(255, 255, 255, 0.1);
        margin: 0.5rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        color: var(--light-text);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: block;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background-color: var(--secondary-green);
        color: var(--light-text);
        transform: translateY(-2px);
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin: 1rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* About page specific styles */
.about-hero {
    height: 60vh;
    min-height: 450px;
}

.about-hero .hero-content {
    max-width: 700px;
}

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

.about-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
}

.about-hero .hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.history {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-text) 0%, #fafafa 100%);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
}

.history-content h2 {
    margin-bottom: 2rem;
    position: relative;
}

.history-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--earth-orange));
    border-radius: 2px;
}

.history-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.history-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.history-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Lentils page specific styles */
.lentils-hero {
    height: 65vh;
    min-height: 480px;
}

.lentils-hero .hero-content {
    max-width: 750px;
}

.lentils-hero .hero-content h1 {
    font-size: 2.75rem;
    color: var(--golden-yellow);
}

.lentils-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--warm-cream);
}

.lentils-hero .hero-description {
    font-size: 1.15rem;
    line-height: 1.65;
}

.lentils-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--warm-cream) 0%, #f0f0f0 100%);
}

.lentils-content .content-section {
    max-width: 800px;
    margin: 0 auto;
}

.lentils-content h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    position: relative;
}

.lentils-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--earth-orange));
    border-radius: 2px;
}

.lentils-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.lentils-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.lentils-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Contact page styles */
.page-header {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--light-text);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info {
    background: linear-gradient(135deg, var(--light-text) 0%, #fafafa 100%);
    padding: 4rem 0;
}

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

.contact-methods h2 {
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--warm-cream) 0%, #f0f0f0 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
}

.contact-method h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-method p {
    margin: 0;
}

.contact-method a {
    color: var(--primary-green);
    font-weight: 600;
}

.whatsapp-link {
    color: #25D366;
    font-weight: 600;
}

.whatsapp-link:hover {
    color: #128C7E;
}

.contact-form-section h2 {
    margin-bottom: 2rem;
}

.contact-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-button {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.4);
    color: var(--light-text);
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: var(--light-text);
}

.quick-contact {
    background: linear-gradient(135deg, var(--warm-cream) 0%, #f0f0f0 100%);
    padding: 4rem 0;
}

.quick-contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.quick-contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--earth-orange));
    border-radius: 2px;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-contact-item {
    background: linear-gradient(135deg, var(--light-text) 0%, #fafafa 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.quick-contact-item:hover {
    transform: translateY(-5px);
}

.quick-contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.visit-us {
    background: linear-gradient(135deg, var(--light-text) 0%, #fafafa 100%);
    padding: 4rem 0;
}

.visit-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.visit-us h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--earth-orange));
    border-radius: 2px;
}

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

.visit-text {
    margin-bottom: 2rem;
}

.visit-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.visit-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.visit-button {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--light-text);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.visit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.4);
    color: var(--light-text);
}

.visit-button.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.visit-button.whatsapp-button:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .visit-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-button, .visit-button {
        width: 100%;
        max-width: 300px;
    }
}
