﻿/* Header and Top Bar Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
}

/* Top bar */
.top-bar {
    background: #f5f7f9;
    font-size: 14px;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-right {
    display: flex;
    flex-wrap: wrap;
}
.top-right a {
    text-decoration: none;
    color: #333;
    margin-left: 15px;
}
.top-right a:hover {
    color: #2ca745;
}

/* Header */
.header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    color: #2ca745;
    margin: 0 auto;
}
.logo img {
    height: 40px;
    margin-right: 8px;
}
.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 200px;
}
.search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    background: #f5f7f9;
}
.search-box button {
    background: #f5f7f9;
    border: 1px solid #ddd;
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
    cursor: pointer;
}
.header .contact, .header .account {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    min-width: 160px;
}
.contact-icon, .account-icon {
    color: #4caf50 !important;    /* Force green color */
    font-size: 18px;
    outline: none !important;      /* Remove outline */
    border: none !important;       /* Remove border */
    text-shadow: none !important;  /* Remove any shadow effects */
    background: none !important;   /* Remove background */
    text-decoration: none !important; /* Remove underlines */
}

/* Mobile header controls */
.mobile-controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.mobile-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #2ca745;
}
.mobile-logo img {
    height: 35px;
    margin-right: 5px;
}
.mobile-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Search slide down */
.mobile-search {
    display: none;
    padding: 10px;
    background: #f5f7f9;
}
.mobile-search input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Menu */
.menu {
    display: flex;
    justify-content: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    background: #fff;
    flex-wrap: wrap;
    transition: max-height 0.3s ease;
}
.menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 15px;
    padding: 0 15px;
}
.menu a:not(:last-child) {
    border-right: 1px solid #ddd;
}
.menu a:hover {
    color: #2ca745;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 25px;
    height: 20px;
    gap: 4px;
    transition: transform 0.3s ease;
}
.hamburger span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Animate to X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 900px) {
    .header {
        flex-direction: column;
        align-items: stretch;
    }
    .header .contact, .header .account {
        justify-content: flex-start;
    }
}
@media (max-width: 600px) {
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }
    .header {
        display: none; /* Hide desktop header on mobile */
    }
    .mobile-controls {
        display: flex;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    .hamburger {
        display: flex;
    }
    .menu {
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        padding: 0;
    }
    .menu.show {
        max-height: 500px;
        padding: 12px 0;
    }
    .menu a {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 8px 0;
        width: 100%;
        text-align: center;
    }
    .menu a:last-child {
        border-bottom: none;
    }
}

/* Service Section Styles */
.service-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}
.service-image {
    flex: 1;
    text-align: center;
}
.service-image img {
    max-width: 100%;
    height: auto;
}
.service-content {
    flex: 1;
    padding: 20px;
}
.service-content h5 {
    color: green;
    font-size: 16px;
    margin-bottom: 10px;
}
.service-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}
.service-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.features div {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: green;
    font-weight: bold;
}
.features div::before {
    content: "✔";
    color: green;
    margin-right: 8px;
}
.service-btn {
    background: green;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
}
.service-btn:hover {
    background: #0a790a;
}
@media (max-width: 768px) {
    .service-section {
        flex-direction: column;
    }
    .features {
        grid-template-columns: 1fr;
    }
}

/* Featured Services Styles */
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 60px 20px;
    border-bottom: 1px solid #ddd;
}
.service {
    text-align: center;
    padding: 10px 15px;
    border-right: 1px solid #ddd;
}
.service:last-child {
    border-right: none;
}
.service-icon {
    font-size: 30px;
    margin-bottom: 10px;
    color: green;
}
.service-icon img {
    width: 30px;
    height: 30px;
    display: inline-block;
}
.service h3 {
    margin: 5px 0;
    font-size: 18px;
    font-weight: bold;
}
.service p {
    font-size: 14px;
    color: #666;
}

@media (max-width: 1024px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .services {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .service {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .service:last-child {
        border-bottom: none;
    }
}

/* Featured Produce Section Styles */
.section {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #f8fafc;
    padding: 20px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.section-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}
.featured-produce {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
/* Banner */
.banner {
    background-color: #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.banner h3 {
    font-size: 20px;
    margin: 0 0 8px;
}
.banner p {
    font-size: 14px;
    color: #555;
    margin: 0 0 15px;
}
.banner button, .banner .btn {
    background-color: orange;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    display: inline-block;
}
/* Product cards */
.product {
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.product h4 {
    font-size: 16px;
    margin: 10px 0 5px;
}
.availability {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.price {
    font-size: 18px;
    font-weight: bold;
    color: red;
    margin-bottom: 10px;
}
.view-btn {
    background-color: green;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
/* Responsive */
@media (max-width: 1200px) {
    .featured-produce {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .featured-produce {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .featured-produce {
        grid-template-columns: 1fr;
    }
}

/* Why Choose Us Section Styles */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

section.why-choose-us {
    padding: 80px 0;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.section-subtitle {
    color: #6BBE45;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.choose-us-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 50px;
}

/* Feature items */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.feature-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: 2px solid #6BBE45;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6BBE45;
    font-size: 20px;
    margin-top: 4px;
}

.feature-content {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-weight: 600;
    font-size: 17px;
    margin: 0 0 5px;
    color: #222;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Center image */
.center-image {
    position: relative;
    text-align: center;
}

.center-image img {
    max-width: 420px;
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-text h3 {
    color: #3CB043;
    font-size: 22px;
    margin: 0 0 5px;
}

.center-text p {
    color: #E94E1B;
    font-size: 15px;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .choose-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-list {
        align-items: center;
        text-align: center;
    }
    .feature {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

/* Footer Styles */
:root{
    --text:#111;
    --muted:#555;
    --border:#eee;
    --brand:#16a34a; /* green */
    --radius:8px;
}

/* Footer */
.footer{
    border-top:1px solid var(--border);
    padding:56px clamp(16px,8vw,80px) 28px;
}
.footer-grid{
    display:grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.35fr; /* proportions like the design */
    gap:56px;
    align-items:start;
}

/* Left column */
.brand-block img.logo{
    height:44px;
    width:auto;
    display:block;
    margin:0 0 18px 0;
}
.brand-block .intro{
    max-width:560px;
    font-size:15px;
    color:var(--muted);
    margin:0 0 22px 0;
}

/* Reset lists and align */
.footer ul{margin:0;padding:0;list-style:none}
.contact li{
    display:flex; align-items:center; gap:10px;
    font-size:15px; margin:10px 0;
}
.contact svg{width:20px;height:20px;flex:0 0 20px;stroke:#222;stroke-width:1.7;fill:none}
.contact a{color:var(--brand);text-decoration:none}
.contact strong{font-weight:700}

/* Social row under contacts */
.social{
    margin-top:22px; display:flex; gap:22px;
}
.social a{display:inline-block;line-height:0}
.social svg{width:20px;height:20px;fill:#000}
.social a:hover svg{opacity:.75}

/* Column headings + links */
.col h4{
    margin:0 0 14px 0; font-size:14px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
}
.links a{
    display:block; color:#000; text-decoration:none; font-size:15px; margin:10px 0;
}
.links a:hover{text-decoration:underline}

/* Newsletter */
.newsletter p{
    margin:0 0 14px 0; color:var(--muted); font-size:15px;
}
.newsletter p b{font-weight:800;color:#000}
.field{
    display:block; width:100%; padding:14px 16px; border:1px solid #e4e4e4; border-radius:10px; font-size:15px; outline:none;
    background:#fafafa;
}
.cta{
    margin-top:16px; display:inline-block; padding:12px 22px; background:var(--brand); color:#fff; border:0; border-radius:10px; font-weight:700; cursor:pointer;
}
.cta:hover{filter:brightness(.95)}

/* Bottom bar */
.footer-bottom{
    margin-top:48px; padding-top:22px; border-top:1px solid var(--border);
    display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap;
    font-size:14px; color:#3a3a3a;
}
.payments img{height:26px;margin-left:14px;vertical-align:middle}

/* Responsive */
@media (max-width: 1100px){
    .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:40px}
}
@media (max-width: 900px){
    .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
    .footer-grid{grid-template-columns:1fr}
    .payments img{margin-left:10px}
}
