/* --- Global Styles & Variables --- */
:root {
    --primary-color: #E86F63;
    --secondary-color: #666;
    --light-bg: #f8f8ff;
    --white: #ffffff;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 10px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 50px;
    color: #999;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.learn-more {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
}
.learn-more:hover {
    background-color: #ec7b71;
}

/* --- Section 1: Why Choose our Farm --- */
.why-choose-us {
    background-color: var(--light-bg);
}

.why-choose-us .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.why-choose-us .illustration img {
    max-width: 100%;
    height: auto;
}

.why-choose-us .subtitle {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.why-choose-us h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.why-choose-us .check-list {
    list-style: none;
    margin: 20px 0;
}

.why-choose-us .check-list li {
    margin-bottom: 10px;
    color: #555;
    font-size: 16px;
}

.why-choose-us .check-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* --- Section 2: Our Services --- */
.our-services {
    background-color: var(--light-bg);
}

.our-services .services-grid {
    display: grid;
    /* Forces 4 equal-width columns on desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: normal;
}

.service-card .icon-box {
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.service-card .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 15px;
}

/* --- Section 3: Creative Team  --- */
.creative-team {
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.team-member .name {
    font-weight: 600;
    color: #333;
    margin-top: 15px;
    font-size: 18px;
}

.team-member .role {
    font-size: 14px;
    color: var(--secondary-color);
}

/* --- Section 4: Contact Us --- */
.contact-us {
    background-color: var(--white);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    text-align: left;
}

/* Contact Info */
.contact-info .info-item {
    margin-bottom: 30px;
    padding-left: 50px;
    position: relative;
}
.contact-info .info-item i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 24px;
}
.contact-info .info-item h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}
.contact-info .info-item p {
    margin: 0;
    font-size: 15px;
}

/* Contact Form */
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.contact-form .form-row.full-width {
    display: block;
}
.contact-form .input-group {
    flex: 1;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding-bottom: 5px;
}
.contact-form .input-group i {
    color: #ccc;
    margin-right: 10px;
}
.contact-form input, .contact-form textarea {
    border: none;
    width: 100%;
    padding: 10px 0;
    outline: none;
    font-size: 16px;
}
.contact-form textarea {
    resize: none;
    height: 120px;
}

.send-message {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 15px 40px;
    border-radius: 30px;
    display: block;
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    background-color: #eee;
    padding: 20px 0;
    font-size: 14px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}
.footer-nav a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}
.footer-nav a:hover {
    color: #333;
}

/* --- Basic Responsiveness (for mobile/tablet) --- */
@media (max-width: 992px) {
    .why-choose-us .content-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-us .text-content {
        text-align: center;
    }
    .why-choose-us .check-list {
        text-align: left;
    }

    .contact-us .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-us .contact-info, .contact-us .contact-form {
        text-align: center;
    }
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form .input-group {
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav {
        margin-top: 10px;
    }
    .footer-nav a {
        margin: 0 10px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .our-services .services-grid {
    display: grid;
    /* Forces 4 equal-width columns on desktop */
    grid-template-columns: repeat(1, 1fr); 
    gap: 30px;
    }
}
/* --- Hero Section Container --- */
.hero {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 25px 8%; */
    padding: 10px 8%;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    margin-bottom: 0;
}

.nav-links .nav-color {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links .nav-color:hover {
    color: #8cc63f;
}

/* Login Button */
.btn-login {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #e0e0e0;
}

.mobile-login {
    display: none; /* Hidden on desktop */
}

/* Hamburger Menu (Hidden on desktop) */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
}

/* --- Hero Content --- */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.subtitle {
    font-family: 'Patrick Hand', cursive;
    font-size: 26px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
}

.main-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #ffffff;
}

.tagline {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ffffff;
}

.cursive-text {
    font-family: 'Caveat', cursive;
    font-size: 50px;
    font-weight: 700;
    margin-right: 8px;
}

/* Call to Action Button */
.btn-cta {
    background-color: #E86F63;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 45px;
    border-radius: 5px; /* Pill shape */
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    background-color: #ea796e;
    color: #ffffff;
}

/* Tablet & Small Desktop Breakpoint */
@media (max-width: 992px) {
    .hero-content {
        flex-grow: 0; /* Stops the container from stretching vertically */
        padding-top: 40px; /* Optional: Adds a little breathing room at the top */
        padding-bottom: 40px; /* Optional: Adds a little breathing room at the bottom */
    }
    .hero {
        min-height: auto;
        padding-bottom: 60px; 
    }

    /* Enable Hamburger Icon */
    .hamburger {
        display: block;
    }

    /* Hide standard desktop login button */
    .desktop-login {
        display: none;
    }

    /* Style the mobile menu */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%; /* Hide off-screen by default */
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: left 0.4s ease;
        z-index: 10;
    }

    /* Slide menu in when hamburger is clicked */
    .menu-toggle:checked ~ .nav-links {
        left: 0;
    }

    .nav-links .nav-color {
        font-size: 20px;
    }

    .mobile-login {
        display: block;
        margin-top: 20px;
    }

    /* Adjust typography for tablets */
    .subtitle { font-size: 22px; }
    .main-title { font-size: 50px; }
    .tagline { font-size: 28px; }
    .cursive-text { font-size: 40px; }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .hero-content {
        flex-grow: 0; /* Stops the container from stretching vertically */
        padding-top: 40px; /* Optional: Adds a little breathing room at the top */
        padding-bottom: 40px; /* Optional: Adds a little breathing room at the bottom */
    }
    .hero {
        min-height: auto; 
        padding-bottom: 60px; 
    }
    /* Adjust typography for smaller mobile screens */
    .navbar { padding: 20px 5%; }
    .logo-text { font-size: 20px; }
    
    .subtitle { font-size: 18px; }
    .main-title {
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 10px;
        letter-spacing: 1px;
        color: #ffffff;
    }
    .tagline {
        font-size: 10px;
        font-weight: 700;
        margin-bottom: 40px;
        color: #ffffff;
    }
    .cursive-text {
        font-family: 'Caveat', cursive; /* Handwritten script */
        font-size: 10px;
        font-weight: 700;
        margin-right: 8px;
    }    
    /* Shrink the call-to-action button slightly */
    .btn-cta {
        background-color: #E86F63;
        color: #ffffff;
        text-decoration: none;
        padding: 10px 25px;
        border-radius: 5px; /* Pill shape */
        font-size: 10px;
        font-weight: 600;
        transition: background-color 0.3s ease;
        display: inline-block;
    }
}