
/*
Theme Name: Mr.Bala Trading SRL
Theme URI: https://mrbala.com
Author: Mr.Bala Trading SRL
Description: Professional wholesale food trading WordPress theme.
Version: 1.0
Text Domain: mrbala
*/

:root {
    --green-950: #092f27;
    --green-900: #0e4034;
    --green-800: #145344;
    --green-700: #1e6b54;
    --green-500: #2c8b65;
    --cream: #f6f7f1;
    --white: #ffffff;
    --ink: #13231e;
    --muted: #63736d;
    --line: #dfe7e2;
    --gold: #d5a34b;
    --radius: 12px;
    --shadow: 0 14px 45px rgba(9, 47, 39, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    font-size: 16px;
}

body,
button,
input,
textarea,
select {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* HEADER */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 100;
}

.header-top {
    background: var(--green-950);
    color: rgba(255,255,255,.88);
    font-size: 13px;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 20px;
}

.header-top a {
    color: white;
}

.top-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
    flex-shrink: 0;
}

.brand-name {
    color: var(--green-950);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.brand-tagline {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* DESKTOP NAVIGATION */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.main-navigation a {
    color: var(--green-950);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 13px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
    background: #e8f0eb;
    color: var(--green-700);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    padding: 13px 21px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: .2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--green-900);
    color: white;
}

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

.btn-light {
    background: white;
    color: var(--green-900);
    border-color: rgba(255,255,255,.35);
}

.btn-outline {
    border-color: var(--green-900);
    color: var(--green-900);
    background: transparent;
}

.btn-outline:hover {
    background: var(--green-900);
    color: white;
}

.btn-gold {
    background: var(--gold);
    color: #18281e;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #cbd9d1;
    border-radius: 5px;
    padding: 9px 11px;
    color: var(--green-950);
    font-size: 22px;
    line-height: 1;
}

/* GREEN MOBILE MENU */

.mobile-menu {
    display: none;
    background: var(--green-900);
    color: white;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu-inner {
    padding: 20px 0 26px;
}

.mobile-menu a {
    display: block;
    color: white;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.mobile-menu a:last-child {
    border-bottom: 0;
}

/* HERO */

.hero {
    background: var(--green-900);
    color: white;
    padding: 100px 0 115px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    right: -240px;
    top: -180px;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 0 0 65px rgba(255,255,255,.025),
                0 0 0 130px rgba(255,255,255,.018);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 830px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c8e1d4;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.3vw, 74px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 0 0 28px;
    max-width: 900px;
}

.hero h1 strong {
    font-weight: 700;
}

.hero-description {
    max-width: 650px;
    color: #d6e3dd;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 34px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.hero-trust span {
    font-size: 12px;
    color: #d6e3dd;
}

/* SECTIONS */

.section {
    padding: 90px 0;
}

.section-light {
    background: white;
}

.section-dark {
    background: var(--green-900);
    color: white;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 42px;
}

.section-heading.center {
    text-align: center;
    margin-inline: auto;
}

.section-kicker {
    display: block;
    color: var(--green-700);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-dark .section-kicker {
    color: #d7b46a;
}

.section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 18px;
}

.section-description {
    color: var(--muted);
    max-width: 620px;
    margin: 0;
}

.section-dark .section-description {
    color: #d1e0d9;
}

/* PRODUCTS */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(9,47,39,.025);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-image {
    aspect-ratio: 4 / 3;
    background: #e9eee9;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-body {
    padding: 24px;
}

.product-category {
    color: var(--green-700);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.product-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    margin: 10px 0 12px;
    color: var(--green-950);
}

.product-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.product-link {
    color: var(--green-700);
    font-size: 13px;
    font-weight: 800;
}

.product-link:hover {
    color: var(--green-950);
}

/* INTRO / FEATURES */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    border-top: 3px solid var(--green-700);
    padding: 25px;
    background: white;
}

.feature-number {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.feature-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    margin: 15px 0 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

/* SPLIT */

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.split-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: #dfe8e1;
    min-height: 380px;
}

.split-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.split-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 22px;
}

.split-content p {
    color: var(--muted);
    margin: 0 0 18px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 26px 0;
}

.check-list li {
    position: relative;
    padding: 7px 0 7px 29px;
    font-weight: 600;
    font-size: 14px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-700);
    font-weight: 800;
}

/* CTA */

.cta {
    background: var(--green-950);
    color: white;
    padding: 65px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 12px;
}

.cta p {
    color: #c7dcd3;
    margin: 0;
}

/* PAGE HEADER */

.page-hero {
    background: var(--green-900);
    color: white;
    padding: 70px 0;
}

.page-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
    margin: 0 0 15px;
}

.page-hero p {
    color: #d3e2db;
    max-width: 650px;
    margin: 0;
}

/* SINGLE PRODUCT */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: start;
}

.product-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: #e5ece6;
}

.product-detail-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-detail-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.1;
    margin: 12px 0 22px;
}

.product-detail-content p {
    color: var(--muted);
}

.product-meta {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    margin: 25px 0;
}

.product-meta strong {
    color: var(--green-900);
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 55px;
}

.contact-box {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-box h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 28px;
    margin: 0 0 20px;
}

.contact-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-item small {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.3px;
    font-weight: 800;
}

.contact-item a {
    color: var(--green-700);
    font-weight: 700;
    word-break: break-word;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    color: var(--green-950);
    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid #cddbd3;
    background: white;
    border-radius: 5px;
    padding: 13px 14px;
    font-size: 15px;
    color: var(--ink);
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(30,107,84,.1);
}

.form-field textarea {
    min-height: 145px;
    resize: vertical;
}

/* FOOTER */

.site-footer {
    background: var(--green-950);
    color: white;
    padding: 65px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-brand .brand-name {
    color: white;
}

.footer-brand p {
    color: #b9d0c5;
    font-size: 14px;
    max-width: 300px;
    margin: 22px 0;
}

.footer-title {
    color: white;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin: 0 0 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    color: #c1d5cc;
    font-size: 13px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14);
    padding: 22px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: #a6c2b5;
    font-size: 12px;
    margin: 0;
}

/* FLOATING WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    background: #25d366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    transition: transform .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    color: white;
}

.whatsapp-icon {
    font-size: 20px;
    line-height: 1;
}

/* WORDPRESS */

.alignwide {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 4px;
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .main-navigation a {
        padding-inline: 8px;
        font-size: 12px;
    }

    .header-actions .btn {
        padding-inline: 14px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 36px, 680px);
    }

    .header-top-inner {
        justify-content: center;
        text-align: center;
        padding: 9px 0;
    }

    .top-links {
        justify-content: center;
        gap: 12px;
    }

    .main-header {
        min-height: 76px;
    }

    .main-navigation,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 70px 0 75px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .section {
        padding: 65px 0;
    }

    .product-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid,
    .product-detail,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .split-image {
        min-height: 300px;
    }

    .split-image img {
        min-height: 300px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .container {
        width: calc(100% - 30px);
    }

    .brand-name {
        font-size: 21px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .product-grid,
    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
    }

    .section-title {
        font-size: 35px;
    }

    .contact-box {
        padding: 24px;
    }
}