/* ============================================================
   KROON BEVERAGE GROUP — Dark Navy + Gold Theme
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
    --navy:        #0d1b2e;
    --navy-mid:    #152540;
    --navy-light:  #1e3358;
    --gold:        #c9a84c;
    --gold-hover:  #b8952f;
    --white:       #ffffff;
    --off-white:   #f5f3ef;
    --text:        #1a1a2e;
    --text-muted:  #6b7280;
    --border:      #e5e7eb;

    --font-body:   'Inter', sans-serif;
    --font-head:   'Playfair Display', serif;

    --radius:      8px;
    --radius-lg:   16px;
    --shadow:      0 4px 24px rgba(0,0,0,0.08);
    --shadow-card: 0 2px 12px rgba(0,0,0,0.06);

    --container:   1200px;
    --gap:         2rem;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}
.btn-sm  { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg  { padding: 0.9rem 2.2rem; font-size: 1rem; }

.btn-gold         { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover   { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn-navy         { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover   { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-outline-white        { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover  { background: var(--white); color: var(--navy); }

.btn-outline-navy         { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover   { background: var(--navy); color: var(--white); }

/* ── Section ──────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title  { font-family: var(--font-head); font-size: 2.2rem; color: var(--navy); margin-bottom: 0.75rem; }
.section-sub    { color: var(--text-muted); font-size: 1.05rem; }
.section-eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.section-cta    { text-align: center; margin-top: 2.5rem; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 72px;
}
.site-logo .logo-text {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 700;
    white-space: nowrap;
}
.site-logo img { max-height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-list  { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.nav-list a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}
.nav-list a:hover,
.nav-list .current-menu-item a { color: var(--gold); }
.nav-cta { margin-left: 0.75rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--navy) center/cover no-repeat;
    background-image: linear-gradient(135deg, #0d1b2e 0%, #1e3358 50%, #0d1b2e 100%);
    overflow: hidden;
}
/* When a real hero image is set, darken it */
.hero[style*="background-image"] {
    background-image: none !important; /* reset gradient */
}
.hero[style*="background-image"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(13,27,46,0.72) 50%,
        rgba(0,0,0,0.55) 100%
    );
    z-index: 0;
}
.hero[style*="background-image"] .hero-content { z-index: 1; }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.hero-overlay { display: none; }
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.hero-heading {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Page Banner ──────────────────────────────────────────── */
.page-banner {
    background: var(--navy);
    padding: 4rem 0;
    text-align: center;
}
.page-banner--short { padding: 3rem 0; }
.page-banner h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--white);
}
.page-banner p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Categories Grid ──────────────────────────────────────── */
.categories-section { background: var(--off-white); }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
}
.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card__img {
    height: 160px;
    background: var(--navy-mid) center/cover no-repeat;
}
.category-card--placeholder .category-card__img {
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
}
.category-card__body {
    padding: 1rem 1.25rem;
    flex: 1;
}
.category-card__body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}
.category-card__count { font-size: 0.8rem; color: var(--text-muted); }

/* ── Category Filter ──────────────────────────────────────── */
.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.cat-filter__btn {
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: var(--off-white);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.cat-filter__btn:hover,
.cat-filter__btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ── Products Grid ────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}
.products-grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ── Product Card ─────────────────────────────────────────── */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__img-wrap { display: block; overflow: hidden; height: 200px; }
.product-card__img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__img--placeholder { height: 200px; background: linear-gradient(135deg, var(--navy-mid), var(--navy-light)); }
.product-card__body { padding: 1.25rem; flex: 1; }
.product-card__cat {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.4rem;
}
.product-card__title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.product-card__title a:hover { color: var(--gold); }
.product-card__excerpt { font-size: 0.85rem; color: var(--text-muted); }
.product-card__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

/* ── Product Detail ────────────────────────────────────────── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.product-detail__main-img { border-radius: var(--radius-lg); width: 100%; }
.product-detail__img-placeholder {
    height: 420px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
}
.product-detail__cat {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.75rem;
}
.product-detail__title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.product-detail__desc { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; }
.product-detail__desc p, .product-detail__desc li { margin-bottom: 0.5rem; }
.product-detail__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Related Products ─────────────────────────────────────── */
.related-products { margin-top: 5rem; }
.related-products__title {
    font-family: var(--font-head);
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

/* ── About Strip ──────────────────────────────────────────── */
.about-strip { background: var(--white); }
.about-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-strip__text .section-title { text-align: left; }
.about-strip__text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.about-strip__image img { border-radius: var(--radius-lg); }
.about-placeholder-img {
    height: 380px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

/* ── Why Section ───────────────────────────────────────────── */
.why-section { background: var(--navy); }
.why-section .section-title { color: var(--white); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.why-card {
    background: var(--navy-mid);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(201,168,76,0.15);
    transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.why-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p  { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
    padding: 5rem 0;
}
.cta-banner__inner { text-align: center; }
.cta-banner h2 { font-family: var(--font-head); font-size: 2rem; color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Contact Layout ────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}
.contact-form-wrap h2,
.contact-info h2 {
    font-family: var(--font-head);
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 2rem;
}
.contact-info__block { margin-bottom: 1.75rem; }
.contact-info__block h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.contact-info__block p,
.contact-info__block a { color: var(--text-muted); }
.contact-info__block a:hover { color: var(--gold); }

/* ── CF7 Styles ────────────────────────────────────────────── */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--off-white);
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 input[type="tel"]:focus { outline: none; border-color: var(--gold); background: var(--white); }
/* Remove browser spinner/arrow on tel inputs */
.wpcf7 input[type="tel"]::-webkit-inner-spin-button,
.wpcf7 input[type="tel"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.wpcf7 input[type="tel"] { -moz-appearance: textfield; appearance: textfield; }
.wpcf7 textarea { resize: vertical; min-height: 140px; }
.wpcf7 input[type="submit"] {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
    width: 100%;
}
.wpcf7 input[type="submit"]:hover { background: var(--gold-hover); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 4rem 0 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: var(--gold); }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0.5rem 0 1.5rem; }
.footer-contact-info p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 0.4rem; }
.footer-contact-info a:hover { color: var(--gold); }

.footer-nav h4,
.footer-categories h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 0.5rem; }
.footer-nav-list a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: color 0.2s; }
.footer-nav-list a:hover { color: var(--gold); }

.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* ── Pagination ────────────────────────────────────────────── */
.pagination { margin-top: 3rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Misc ──────────────────────────────────────────────────── */
.no-results { color: var(--text-muted); padding: 2rem 0; }
.page-content { line-height: 1.8; color: var(--text-muted); }
.page-content h2, .page-content h3 { color: var(--navy); margin: 1.5rem 0 0.75rem; }
.page-content p, .page-content li { margin-bottom: 0.75rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .product-detail       { grid-template-columns: 1fr; gap: 2rem; }
    .about-strip__inner   { grid-template-columns: 1fr; }
    .contact-layout       { grid-template-columns: 1fr; }
    .footer-inner         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .section-title { font-size: 1.75rem; }
    .hero { min-height: 80vh; }
    .hero-heading { font-size: 2.2rem; }

    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .site-nav.open { display: flex; }
    .nav-list { flex-direction: column; width: 100%; }
    .nav-list a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-cta { margin: 1rem 0 0; width: 100%; text-align: center; }

    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
}
