/* ==========================================================================
   HIVE-2-BOTTLE theme — Filament-style UI
   A clean, modern look inspired by Filament's admin design, layered on
   Bootstrap 5. Neutral gray surfaces, white cards with thin ring borders,
   soft shadows, rounded-xl corners, and an amber primary accent.
   Plain CSS — easy to read and change.
   ========================================================================== */

:root {
    /* Neutral (Tailwind gray) scale */
    --bg:        #f9fafb;   /* page background (gray-50) */
    --surface:   #ffffff;   /* cards / navbar */
    --border:    #e5e7eb;   /* gray-200 border */
    --ring:      rgba(17, 24, 39, 0.06);  /* subtle ring */
    --text:      #111827;   /* gray-900 headings */
    --body:      #374151;   /* gray-700 body */
    --muted:     #6b7280;   /* gray-500 muted */

    /* Brand gold, sampled from the HIVE-2-BOTTLE logo (#ffb000). */
    --primary:       #f2a900;  /* logo gold — button/fill base */
    --primary-hover: #dd9800;  /* darker gold for hover */
    --primary-500:   #ffb000;  /* exact logo gold — bright accent */
    --primary-50:    #fff8e6;  /* lightest tint */
    --primary-100:   #ffecbf;
    --primary-700:   #b87a00;
    --primary-ink:   #4a3208;  /* dark text placed on gold fills */
    --primary-strong:#9c6b00;  /* readable gold for text/links on white */

    /* Radii & shadow (Filament-ish) */
    --radius:    0.75rem;   /* rounded-xl for cards */
    --radius-sm: 0.5rem;    /* rounded-lg for buttons/inputs */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
}

/* ---------- Base ---------- */
body {
    background-color: var(--bg);
    color: var(--body);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p { line-height: 1.65; }

a { color: var(--primary-strong); text-decoration: none; }
a:hover { color: var(--primary); }

/* Utility colours */
.text-gold, .text-brand, .text-foil, .text-honey { color: var(--primary-strong) !important; -webkit-text-fill-color: currentColor; background: none; }
.text-brown  { color: var(--body) !important; }
.text-brown-soft { color: var(--muted) !important; }
.bg-ivory, .bg-cream   { background-color: var(--bg) !important; }
.bg-sand, .bg-cream-2  { background-color: var(--surface) !important; }
.bg-espresso, .bg-brand { background-color: #111827 !important; }

/* Filament-style badge (used for section eyebrows). */
.eyebrow, .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--primary-50);
    color: var(--primary-500);
    border: 1px solid rgba(255, 176, 0, 0.25);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 50rem;
}
.eyebrow::before, .eyebrow::after { content: none; }  /* drop the old hairlines */

/* ---------- Buttons ---------- */
.btn-gold, .btn-honey, .btn-brand {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--primary-ink);
    font-weight: 700;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn-gold:hover, .btn-honey:hover, .btn-brand:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--primary-ink);
    box-shadow: var(--shadow-md);
}

/* Quick-view hover overlay on product card images. */
.card-img-wrap, .h2-card-img { position: relative; }
.qv-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(31, 21, 11, 0.45);
    opacity: 0; transition: opacity .25s ease;
    pointer-events: none;
}
.qv-overlay span {
    background: #ffb000; color: #2a1d0c;
    font-weight: 700; font-size: .85rem;
    padding: .5rem 1rem; border-radius: 50rem;
    transform: translateY(8px); transition: transform .25s ease;
}
.product-card:hover .qv-overlay, .h2-card:hover .qv-overlay { opacity: 1; }
.product-card:hover .qv-overlay span, .h2-card:hover .qv-overlay span { transform: translateY(0); }

/* Brand mark tile (the logo bee on a small dark rounded tile). */
.brand-mark {
    display: inline-flex; align-items: center;
    padding: 5px 10px;
    background: #0d0b08; border-radius: 8px;
}
.brand-mark img { height: 34px; width: auto; display: block; }
.btn-gold.btn-lg, .btn-honey.btn-lg, .btn-brand.btn-lg { padding: 0.65rem 1.4rem; font-size: 1rem; }

/* Secondary / outline = white with a gray ring (Filament secondary). */
.btn-outline-honey, .btn-outline-gold {
    background: var(--surface);
    border: 1px solid #d1d5db;         /* gray-300 */
    color: #374151;
    font-weight: 600;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: background-color .15s ease, border-color .15s ease;
}
.btn-outline-honey:hover, .btn-outline-gold:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}
.btn-outline-honey.btn-lg, .btn-outline-gold.btn-lg { padding: 0.65rem 1.4rem; font-size: 1rem; }

/* Dark/gray button. */
.btn-espresso {
    background: #1f2937; border: 1px solid #1f2937; color: #fff;
    font-weight: 600; border-radius: var(--radius-sm); padding: 0.5rem 1rem;
}
.btn-espresso:hover { background: #111827; color: #fff; }

/* Inputs: rounded-lg with amber focus ring. */
.form-control, .form-select {
    border-color: var(--border);
    border-radius: var(--radius-sm);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.18);
}

/* ---------- Navbar ---------- */
.navbar-hive {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.navbar-hive .navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--text);
    display: flex; align-items: center; gap: .5rem;
}
.navbar-hive .nav-link {
    color: var(--muted);
    font-weight: 500;
    font-size: .92rem;
    margin: 0 .15rem;
    border-radius: var(--radius-sm);
    padding: .4rem .7rem;
}
.navbar-hive .nav-link:hover { color: var(--text); background: #f3f4f6; }
.navbar-hive .nav-link.active { color: var(--primary-strong); background: var(--primary-50); }

/* ---------- Backgrounds / motifs ---------- */
.honeycomb-bg { background-color: var(--bg); }
.honey-drip { display: none; }   /* flat sections in the Filament look */

/* ---------- Hero ---------- */
.hero-hive {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 10%, var(--primary-50), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}
.hero-hive .hero-blob { display: none; }
.hero-hive .hero-img {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.hero-hive .hero-img { transform: none; outline: none; }

/* ---------- Section helpers ---------- */
.section { padding: 4.5rem 0; }
.section-title::after { content: none; }  /* Filament headings have no underline */

/* ---------- Cards ---------- */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: #d1d5db;
    transform: translateY(-3px);
}
.product-card .card-img-wrap { overflow: hidden; background: #f3f4f6; }
.product-card img { height: 240px; object-fit: cover; transition: transform .4s ease; }
.product-card:hover img { transform: scale(1.04); }
.price-tag { color: var(--text); font-weight: 700; }

/* ---------- Category tiles ---------- */
.cat-hex {
    display: block; text-decoration: none; text-align: center;
    padding: 1.75rem 1rem; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.cat-hex:hover { box-shadow: var(--shadow-md); border-color: #d1d5db; transform: translateY(-3px); }
.cat-hex .hex-icon {
    width: 56px; height: 56px; margin: 0 auto .85rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); background: var(--primary-50);
    border-radius: var(--radius-sm);
    font-size: 1.35rem;
}

/* ---------- Trust strip ---------- */
.trust-item i { color: var(--primary); font-size: 1.6rem; }
.trust-item .trust-label { font-weight: 600; color: var(--text); }

/* ---------- Benefit cards ---------- */
.benefit-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem 1.5rem; height: 100%;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .18s ease, transform .18s ease;
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-card .benefit-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-50); color: var(--primary);
    font-size: 1.3rem; margin-bottom: 1rem;
}

/* ---------- Story / mission ---------- */
.story-img {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    outline: none;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--surface);
    color: var(--body);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.cta-band::before { content: none; }
.cta-band h2 { color: var(--text); }

/* ---------- Footer ---------- */
.footer-hive {
    background: var(--surface);
    color: var(--muted);
    border-top: 1px solid var(--border);
}
.footer-hive h5, .footer-hive h6 { color: var(--text); font-weight: 600; }
.footer-hive a { color: var(--muted); }
.footer-hive a:hover { color: var(--primary); }
.footer-hive hr { border-color: var(--border) !important; opacity: 1; }

/* ---------- Filament-style form sections ---------- */
.fi-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.fi-section-title { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0; }
.fi-section-desc { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }
.fi-form-label { font-size: .85rem; font-weight: 600; color: #374151; margin-bottom: .35rem; }
.fi-hint { font-size: .8rem; color: var(--muted); }

/* Amber toggle switches (Filament uses coloured switches). */
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.18); }

/* Sticky action bar at the bottom of a form. */
.fi-form-actions {
    position: sticky; bottom: 0;
    background: rgba(249, 250, 251, 0.9);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--border);
    padding: 1rem 0; margin-top: .5rem;
}

/* ---------- Helpers / aliases ---------- */
.rounded-2xl { border-radius: var(--radius) !important; }
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
