/* CSS Reset and Variables */
:root {
    --primary-color: #2E7D32; /* Forest Green */
    --primary-dark: #1B5E20;
    --secondary-color: #81C784; /* Light Green */
    --accent-color: #F9A825; /* Gold/Orange for warmth */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FAFAF5; /* Warm off-white */
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 80px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('img3.jpg') no-repeat center center/cover;
    /* Use img3.jpg as it likely shows the farm environment well */
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-content .tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.sub-tagline {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Basics */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.highlight-box {
    background-color: rgba(46, 125, 50, 0.05); /* Light primary tint */
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
}

.highlight-box ul {
    margin-top: 10px;
    margin-left: 20px;
}

.highlight-box li {
    list-style-type: circle;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.about-image .styled-img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 rgba(46, 125, 50, 0.1);
    transition: var(--transition);
}

.about-image .styled-img:hover {
    transform: translateY(-5px);
    box-shadow: 25px 25px 0 rgba(46, 125, 50, 0.2);
}

/* Feed Section */
.feed-section {
    background-color: #F1F8F6; /* Very light cool green */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: 300px; /* Fixed height for uniformity */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    color: var(--white);
    text-align: left;
}

.contact-info p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item a {
    color: var(--accent-color);
    font-weight: 700;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(5px);
}

.contact-logo {
    max-width: 250px;
    filter: brightness(0) invert(1); /* White logo variant */
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: #1a421d; /* Even darker green */
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-tag {
    color: var(--accent-color);
    font-family: var(--font-heading);
    margin-top: 10px;
    font-style: italic;
}

/* Animations */
.fade-in, .fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-in {
    /* No movement, just fade */
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Responsive Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1; /* Image first on mobile? or keep text first? Let's keep default text first usually better for reading, but images are engaging. Let's keep default */
        order: 0;
    }
    
    .about-image .styled-img {
        box-shadow: 10px 10px 0 rgba(46, 125, 50, 0.1);
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-map {
        width: 100%;
    }
}
