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

/* Font Display Optimization */
@font-face {
    font-family: 'Montserrat';
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    font-display: swap;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    color: #2E7D32;
}

h3 {
    font-size: 1.5rem;
    color: #2E7D32;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E7D32;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2E7D32;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2E7D32;
    transition: width 0.3s ease;
}

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

.language-selector {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: none;
    border: 2px solid #2E7D32;
    color: #2E7D32;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: #2E7D32;
    color: white;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2E7D32;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(46, 125, 50, 0.3), rgba(46, 125, 50, 0.3)),
                url('images/field-main.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-overlay {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background-color: #2E7D32;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.cta-button:hover {
    background-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Intro Section */
.intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Plants Highlights */
.plants-highlights {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

.plant-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.plant-image {
    height: 200px;
    background: linear-gradient(135deg, #A5D6A7, #2E7D32);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plant-placeholder {
    font-size: 4rem;
    opacity: 0.8;
}

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

.plant-info {
    padding: 1.5rem;
}

.plant-name {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.plant-description {
    color: #666;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    font-size: 8rem;
    opacity: 0.6;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.about-img:hover {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Origins Section */
.origins {
    padding: 80px 0;
}

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

.origins-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.botanical-heritage {
    background: linear-gradient(135deg, #f8f9fa, #e8f5e8);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2E7D32;
}

.botanical-heritage h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.botanical-heritage p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

.origins-map {
    text-align: center;
}

.map-placeholder {
    font-size: 6rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.origins-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.origins-img:hover {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.map-caption {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.contact-item {
    margin-bottom: 2rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #2E7D32;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1B5E20;
    text-decoration: underline;
}

.social-links h3 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

/* Contact Map */
.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E7D32;
}

.submit-btn {
    background-color: #2E7D32;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #1B5E20;
}

/* Footer */
.footer {
    background-color: #2E7D32;
    color: #ffffff;
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    height: 36px;
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.3rem;
}

.footer-text {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
}

.footer-bottom p {
    color: #ffffff;
    margin: 0;
}

.footer-bottom span {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 0.75rem 0;
        display: block;
    }
    
    .language-selector {
        gap: 3px;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.8rem;
        border-width: 1px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content,
    .origins-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plants-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .plant-placeholder {
        font-size: 3rem;
    }
    
    .image-placeholder {
        font-size: 5rem;
    }
    
    .map-placeholder {
        font-size: 4rem;
    }
    
    .language-selector {
        gap: 2px;
    }
    
    .lang-btn {
        padding: 2px 4px;
        font-size: 0.7rem;
        border-width: 1px;
    }
    
    .nav-menu {
        padding: 0.75rem 0;
    }
    
    .nav-menu a {
        padding: 0.6rem 0;
        font-size: 0.95rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for language switching */
.transitioning {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2E7D32;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1B5E20;
}
