/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-green: #2d5016;
    --light-green: #4a8c3f;
    --accent-green: #7bc043;
    --tomato-red: #ff6b6b;
    --tomato-dark: #c92a2a;
    --tomato-light: #ff8787;
    --gold: #ffd43b;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --gray: #e0e7ff;
    --dark-gray: #64748b;
    --text-dark: #1e293b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==================== NAVBAR ==================== */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo i {
    font-size: 1.8rem;
    color: var(--accent-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-item {
    position: relative;
}

/* Remove the underline animation for dropdown items */
.has-dropdown .nav-link::after {
    content: '\25BE';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--dark-gray);
}

.dropdown {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--gray);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    top: 100%;
}

.dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.dropdown-link:hover {
    background: var(--light-gray);
    color: var(--primary-green);
}

/* Underline animation only for non-dropdown nav items */
.nav-item:not(.has-dropdown) .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--tomato-red));
    transition: width 0.3s ease;
}

.nav-item:not(.has-dropdown) .nav-link:hover::after,
.nav-item:not(.has-dropdown) .nav-link.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
                rgba(45, 80, 22, 0.88) 0%, 
                rgba(74, 140, 63, 0.75) 35%,
                rgba(123, 192, 67, 0.65) 65%,
                rgba(255, 107, 107, 0.35) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 212, 59, 0.08), transparent 35%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 20px 80px;
    min-height: 60vh;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge .est-text {
    color: var(--tomato-red);
    font-weight: 800;
    font-size: 0.9rem;
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 4.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 400;
    text-shadow: 3px 5px 10px rgba(0, 0, 0, 0.4),
                 0 0 20px rgba(255, 212, 59, 0.3);
    letter-spacing: 2px;
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    animation: slideInRight 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-animation {
    width: 100%;
    max-width: 450px;
}

.hero-svg {
    width: 100%;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

@keyframes sun-shine {
    0%, 100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 10px #FFD700);
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px #FFD700);
    }
}

.sun-shine {
    animation: sun-shine 3s ease-in-out infinite;
}

@keyframes farmer-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.farmer-bounce {
    animation: farmer-bounce 2s ease-in-out infinite;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    outline: none;
    position: relative;
}

.btn:focus {
    outline: 3px solid rgba(122, 192, 67, 0.3);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--light-green) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(122, 192, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(122, 192, 67, 0.5);
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.3);
    border-color: var(--primary-green);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    padding: 80px 0;
    margin-bottom: 60px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: var(--transition);
}

.stat-card:hover .stat-number {
    font-size: 3.3rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 15px 40px rgba(122, 192, 67, 0.25);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    color: var(--light-green);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.feature-card p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* ==================== PRODUCTS PREVIEW SECTION ==================== */
.products-preview {
    padding: 100px 0;
}

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

.product-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    opacity: 0.9;
    transition: var(--transition);
}

.product-item:hover .product-image {
    opacity: 1;
    transform: scale(1.05);
}

.product-item h3 {
    padding: 25px 20px 10px;
    color: var(--primary-green);
    font-size: 1.3rem;
}

.product-item p {
    padding: 0 20px 20px;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.product-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 20px 20px 20px;
}

/* ==================== SUSTAINABILITY SECTION ==================== */
.sustainability {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(123, 192, 67, 0.08) 100%);
    padding: 100px 0;
}

.sustainability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.sustainability-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-green);
}

.sustainability-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.sustainability-item p {
    color: var(--dark-gray);
    font-weight: 500;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.1), transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-green);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-green);
    opacity: 1;
}

.footer-section p {
    opacity: 0.85;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
                rgba(45, 80, 22, 0.03) 0%, 
                rgba(123, 192, 67, 0.05) 50%,
                rgba(255, 212, 59, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 192, 67, 0.08), transparent 70%);
    border-radius: 50%;
}

.reviews-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--dark-gray);
    margin-top: -40px;
    margin-bottom: 60px;
    font-style: italic;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.review-card {
    background: var(--white);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--accent-green);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-green);
}

.review-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--gold);
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--light-gray);
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.reviewer-position {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
    background: linear-gradient(135deg, rgba(45,80,22,0.06), rgba(123,192,67,0.06));
    padding: 80px 0;
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.newsletter-text h2 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.newsletter-text p {
    color: var(--dark-gray);
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid var(--gray);
    border-radius: 10px;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(122,192,67,0.12);
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
    }
}
