/*
Theme Name: Global Orchards Kenya
Description: A custom WordPress theme for Global Orchards Ltd.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: global-orchards-kenya
*/

:root {
    --go-green: #075b42;
    --go-green-dark: #064832;
    --go-lime: #95c33f;
    --go-cream: #f8f6ef;
    --go-pale: #e6f0e9;
    --go-ink: #222421;
    --go-muted: #4f554f;
    --go-gradient: linear-gradient(135deg, #0b684b, #70a53b);
    --go-shadow: 0 6px 20px #16352810;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fff; color: var(--go-ink); font: 16px/1.65 "Segoe UI", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; }
p { color: var(--go-muted); }
a { color: var(--go-green); }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #367a28; outline-offset: 4px; }
.go-container { width: min(100% - 40px, 1120px); margin-inline: auto; }
.go-skip { position: fixed; z-index: 30; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 16px; background: #fff; }
.go-skip:focus { transform: none; }

.go-header { position: sticky; top: 0; z-index: 5; background: #f8f6eff5; }
.admin-bar .go-header { top: 32px; }
.go-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; }
.go-brand { display: block; flex: none; }
.go-brand img { width: 152px; height: 77px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.go-nav { display: flex; align-items: center; gap: clamp(14px, 2.35vw, 34px); }
.go-nav a { text-decoration: none; color: var(--go-ink); font-weight: 600; }
.go-nav a:not(.go-button):hover { color: var(--go-green); text-decoration: underline; text-underline-offset: 5px; }
.go-menu { display: none; }
.go-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 23px;
    border: 2px solid var(--go-green);
    border-radius: 8px;
    color: #fff !important;
    background: var(--go-green);
    font-weight: 650;
    text-decoration: none;
    line-height: 1.35;
}
.go-button:hover { background: var(--go-green-dark); border-color: var(--go-green-dark); }
.go-button-outline { color: var(--go-green) !important; background: transparent; }
.go-button-outline:hover { background: var(--go-pale); }
.go-button-white { color: var(--go-green) !important; background: #fff; border-color: #fff; }
.go-button-white:hover { background: var(--go-pale); border-color: var(--go-pale); }
.go-button-clear { background: transparent; border-color: #fff; }
.go-button-clear:hover { background: #063e2c; border-color: #fff; }
.go-button-lime { color: #18210b !important; background: var(--go-lime); border-color: var(--go-lime); }
.go-button-lime:hover { background: #b1d967; border-color: #b1d967; }
.go-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 28px; }

.go-hero { min-height: 540px; padding: 18px 0 86px; background: linear-gradient(var(--go-cream), #fff 88%); }
.go-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 64px); align-items: start; }
.go-hero-copy { padding-top: 10px; }
.go-hero h1 { font-size: clamp(2.5rem, 4.2vw, 3.35rem); font-weight: 750; letter-spacing: -.04em; }
.go-hero-copy > p { max-width: 510px; font-size: clamp(1rem, 1.55vw, 1.2rem); }
.go-hero-copy .go-hero-range {
    margin: 24px 0 20px;
    color: var(--go-green);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 650;
    min-height: 2.8em;
}
.go-hero-panel, .go-values { background: var(--go-gradient); color: #fff; border-radius: 14px; box-shadow: var(--go-shadow); }
.go-hero-panel { overflow: hidden; }
.go-hero-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    height: auto;
    object-fit: cover;
    object-position: 75% 54%;
}
.go-hero-caption { padding: 19px 23px 22px; background: linear-gradient(120deg, #075b42, #3c762d); }
.go-hero-caption h2 { font-size: clamp(1.15rem, 2.1vw, 1.55rem); line-height: 1.3; }
.go-hero-caption p { color: #fff; margin-top: 5px; }

.go-section { padding-block: 72px; }
.go-tint { background: var(--go-cream); }
.go-section-heading { text-align: center; max-width: 800px; margin: 0 auto 44px; }
.go-section-heading h2, .go-contact h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 750; letter-spacing: -.025em; }
.go-section-heading h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--go-lime); margin: 18px auto 22px; }
.go-section-heading p { font-size: 1.055rem; }
.go-about h3 { font-size: 1.55rem; margin-bottom: 20px; }
.go-about p + p { margin-top: 18px; }
.go-values { padding: 32px; }
.go-values p { color: #fff; }
.go-values ul { list-style: none; padding: 0; display: grid; gap: 22px; }
.go-values li { display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: start; }
.go-values h4 { font-size: 1.14rem; margin: 2px 0 5px; }
.go-icon-circle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--go-green); background: #dcece2; }
.go-values .go-icon-circle { color: #fff; background: #ffffff30; }

.go-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.go-product, .go-resource { display: flex; flex-direction: column; border-radius: 12px; background: #fff; box-shadow: var(--go-shadow); overflow: hidden; }
.go-product-icon { display: grid; place-items: center; min-height: 140px; color: var(--go-green); background: linear-gradient(110deg, #e1eee7, #eff6e5); }
.go-product-icon .dashicons { font-size: 54px; width: 54px; height: 54px; }
.go-product-body { flex: 1; display: flex; flex-direction: column; padding: 23px; }
.go-product h3, .go-logistics-card h3, .go-resource h3 { font-size: 1.26rem; margin: 0 0 10px; }
.go-product-body p { margin-bottom: 18px; }
.go-product-body .go-text-link { margin-top: auto; align-self: flex-start; }
.go-text-link { font-weight: 650; text-underline-offset: 4px; }
.go-text-link:hover { color: var(--go-green-dark); }
.go-center { text-align: center; margin-top: 34px; }
.go-destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 29px; padding: 32px; text-align: center; background: #f0f5f1; border-radius: 18px; }
.go-destinations > div { display: grid; justify-items: center; align-content: start; gap: 6px; }
.go-destinations strong { font-size: 1.23rem; }
.go-destinations span:last-child { color: var(--go-muted); }
.go-logistics-card, .go-resource { padding: 24px; }
.go-logistics-card { border-radius: 8px; background: var(--go-cream); }
.go-logistics-card .go-icon-circle, .go-resource .go-icon-circle { margin-bottom: 16px; }
.go-resource a span { font-weight: 400; }
.go-band { padding-block: 46px; text-align: center; background: var(--go-green); color: #fff; }
.go-band strong { display: block; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.3; }
.go-band span { color: #e3eee8; }

.go-faq { max-width: 920px; margin-inline: auto; }
.go-faq details { border-bottom: 1px solid #dce4de; }
.go-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; list-style: none; padding: 18px 0; font-weight: 600; }
.go-faq summary::-webkit-details-marker, .go-menu summary::-webkit-details-marker { display: none; }
.go-faq summary::after { content: "+"; color: var(--go-green); font-size: 1.35rem; }
.go-faq details[open] summary::after { content: "−"; }
.go-faq details p { max-width: 740px; margin: 0 0 18px; }
.go-contact { background: linear-gradient(105deg, #075b42, #427c2d); color: white; text-align: center; padding-block: 60px; }
.go-contact p { color: #fff; margin-top: 16px; }
.go-contact .go-actions { justify-content: center; }
.go-footer { background: #222; color: #fff; padding: 46px 0 22px; }
.go-footer-grid { display: grid; grid-template-columns: 1fr .7fr 1.15fr 1fr; gap: 28px; }
.go-footer .go-brand img { background: #fff; border-radius: 6px; mix-blend-mode: normal; }
.go-footer h2 { font-size: 1.08rem; margin-bottom: 16px; }
.go-footer p, .go-footer address, .go-footer li a, .go-footer-bottom { color: #dedede; }
.go-footer p, .go-footer ul { margin-top: 12px; }
.go-footer ul { list-style: none; padding: 0; display: grid; gap: 5px; }
.go-footer address { font-style: normal; }
.go-footer a { overflow-wrap: anywhere; }
.go-footer a:not(.go-button) { color: inherit; text-underline-offset: 3px; }
.go-footer .go-button { margin-top: 13px; }
.go-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #494949; padding-top: 18px; margin-top: 34px; }
.go-entry { max-width: 780px; }
.go-entry article + article, .go-entry h1 + p { margin-top: 24px; }

@media (max-width: 790px) {
    .go-nav { display: none; }
    .go-menu { display: block; position: relative; }
    .go-menu summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; }
    .go-menu .dashicons { font-size: 26px; width: 26px; height: 26px; }
    .go-menu nav { display: grid; gap: 4px; position: absolute; right: 0; top: calc(100% + 5px); min-width: 175px; background: #fff; border-radius: 8px; box-shadow: 0 10px 28px #16352830; padding: 8px; }
    .go-menu nav a { display: block; color: var(--go-green); text-decoration: none; padding: 9px 12px; font-weight: 600; }
    .go-menu nav a:hover { background: var(--go-pale); }
    .go-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    html { scroll-padding-top: 84px; }
    .go-container { width: calc(100% - 32px); }
    .go-header-inner { min-height: 78px; }
    .go-header .go-brand img { width: 139px; height: 65px; }
    .admin-bar .go-header { top: 46px; }
    .go-split, .go-grid-3 { grid-template-columns: 1fr; }
    .go-hero { min-height: unset; padding: 12px 0 42px; }
    .go-hero h1 { max-width: 380px; }
    .go-hero-copy .go-hero-range { min-height: 0; margin: 16px 0; }
    .go-hero-image { aspect-ratio: 5 / 3; }
    .go-hero-caption { padding: 16px 18px 18px; }
    .go-button { padding-inline: 15px; }
    .go-section { padding-block: 54px; }
    .go-section-heading { margin-bottom: 30px; }
    .go-destinations { padding: 20px 12px; }
    .go-destinations span:last-child { font-size: .9rem; }
    .go-band { padding-block: 32px; }
}

@media (max-width: 450px) {
    .go-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .admin-bar .go-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
