/* NAVBAR */

.farm-navbar {
    background: #1b5e20;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* LOGO */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
}

.farmbook-logo {
    border-radius: 6px;
}

/* MENU */

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

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-menu li a:hover {
    color: #c8e6c9;
}

/* DROPDOWN */

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    top: 35px;
    left: 0;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.dropdown-menu li {
    padding: 5px 20px;
}

.dropdown-menu li a {
    color: #333;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* SEARCH */

.search-form {
    display: flex;
    gap: 6px;
}

.search-form input {
    padding: 6px;
    border-radius: 4px;
    border: none;
}

.search-form button {
    padding: 6px 10px;
    border: none;
    background: #4caf50;
    color: white;
    cursor: pointer;
}

/* ACTIONS */

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

.theme-btn {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 5px 8px;
    cursor: pointer;
}

/* MOBILE */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
}

/* RESPONSIVE */

@media(max-width:900px) {

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1b5e20;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

}
/* GLOBAL */

body{
    font-family: Arial, Helvetica, sans-serif;
    margin:0;
    background:#f6f9f6;
    color:#333;
}

section{
    padding:70px 8%;
}

h1,h2,h3{
    margin-bottom:15px;
}

/* HERO SECTION */

.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    background:linear-gradient(120deg,#2e7d32,#4caf50);
    color:white;
}

.hero-text{
    flex:1;
    min-width:280px;
}

.hero-text h1{
    font-size:40px;
}

.hero-text p{
    font-size:18px;
    line-height:1.6;
}

.hero-text button{
    margin-top:20px;
    padding:12px 20px;
    border:none;
    background:#fff;
    color:#2e7d32;
    font-weight:bold;
    cursor:pointer;
    border-radius:6px;
}

.hero-text button:hover{
    background:#e8f5e9;
}

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

.hero-image img{
    max-width:100%;
    border-radius:10px;
}

/* INTRO */

.intro{
    background:white;
}

.intro h2{
    text-align:center;
    font-size:30px;
}

.intro p{
    max-width:900px;
    margin:20px auto;
    line-height:1.8;
    font-size:17px;
}

/* FEATURES */

.features{
    background:#f1f8e9;
    text-align:center;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    margin-top:40px;
}

.feature{
    background:white;
    border-radius:10px;
    padding:20px;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

.feature img{
    width:100%;
    border-radius:8px;
}

.feature h3{
    margin-top:10px;
    color:#2e7d32;
}

.feature p{
    font-size:15px;
    line-height:1.6;
}

/* GLOBAL CASE STUDY */

.global{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    background:white;
}

.global-text{
    flex:1;
    min-width:280px;
}

.global-text h2{
    font-size:30px;
}

.global-text p{
    line-height:1.7;
    font-size:17px;
}

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

.global-image img{
    max-width:100%;
    border-radius:10px;
}

/* MISSION */

.mission{
    background:linear-gradient(120deg,#4caf50,#66bb6a);
    color:white;
    text-align:center;
}

.mission h2{
    font-size:32px;
}

.mission p{
    max-width:700px;
    margin:auto;
    font-size:18px;
    line-height:1.7;
}

/* MOBILE RESPONSIVE */

@media(max-width:900px){

.hero{
    flex-direction:column;
    text-align:center;
}

.hero-text h1{
    font-size:32px;
}

.global{
    flex-direction:column;
    text-align:center;
}

section{
    padding:60px 6%;
}

}