/* Braai Log — main stylesheet */
:root {
    --coal:       #100800;
    --carbon:     #1f1008;
    --charcoal:   #2d1a0a;
    --ember:      #e04a08;
    --flame:      #ff6820;
    --glow:       #ff9545;
    --wood:       #7a4f2a;
    --ash:        #9e8878;
    --cream:      #fdf6ee;
    --warm-bg:    #f7ede0;
    --muted:      #7a6050;
    --border:     rgba(224, 74, 8, 0.18);
    --border-soft: rgba(120, 80, 40, 0.15);
    --radius:     8px;
    --radius-lg:  16px;
    --shadow-sm:  0 1px 8px rgba(16, 8, 0, 0.10);
    --shadow-md:  0 4px 24px rgba(16, 8, 0, 0.16);
    --shadow-lg:  0 8px 40px rgba(16, 8, 0, 0.22);
    --max-w:      1100px;
    --nav-h:      64px;
    --t:          0.2s ease;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--cream);
    color: var(--coal);
    line-height: 1.6;
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--flame); }

/* ─── Layout helpers ─────────────────────────────────── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section     { padding: 4rem 0; }
.section-sm  { padding: 2.5rem 0; }
.section-lg  { padding: 6rem 0; }
.text-center { text-align: center; }
.sr-only     { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ─── Typography ─────────────────────────────────────── */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--muted); }
.eyebrow {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--ember); margin-bottom: 0.6rem;
}
.tagline { font-style: italic; color: var(--muted); font-size: 0.9em; }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; border-radius: var(--radius);
    font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
    text-decoration: none; transition: var(--t); line-height: 1;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--ember), var(--flame));
    color: #fff; box-shadow: 0 4px 16px rgba(224, 74, 8, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--flame), var(--glow));
    color: #fff; box-shadow: 0 6px 24px rgba(224, 74, 8, 0.5);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent; color: var(--ember);
    border: 2px solid var(--ember);
}
.btn-outline:hover {
    background: var(--ember); color: #fff;
}
.btn-ghost {
    background: rgba(255,255,255,0.1); color: var(--cream);
    border: 2px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.2); color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ─── Navigation ─────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(16, 8, 0, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(224, 74, 8, 0.2);
    height: var(--nav-h);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h); gap: 1rem;
}
.brand {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.2rem; font-weight: 900; color: #fff;
    text-decoration: none; flex-shrink: 0;
}
.brand .flame-icon { font-size: 1.5rem; }
.brand span { letter-spacing: -0.03em; }
.brand em { color: var(--flame); font-style: normal; }
/* Logo has dark text on transparent -> show it on a cream badge so it reads on the dark nav */
.brand-logo {
    height: 48px; width: auto; display: block;
    background: var(--cream); border-radius: 8px; padding: 3px 7px;
}
@media (max-width: 640px) { .brand-logo { height: 42px; } }
.nav-links {
    display: flex; align-items: center; gap: 0.5rem;
}
.nav-links a {
    color: var(--ash); font-size: 0.9rem; font-weight: 600;
    padding: 0.5rem 0.75rem; border-radius: var(--radius);
    text-decoration: none; transition: var(--t);
    letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.is-active {
    color: #fff; background: rgba(224, 74, 8, 0.15);
}
.nav-cta {
    background: linear-gradient(135deg, var(--ember), var(--flame)) !important;
    color: #fff !important; padding: 0.5rem 1rem !important;
}
.nav-cta:hover { opacity: 0.9; }

/* Hamburger for mobile */
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 0.5rem; color: #fff;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 640px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: rgba(16, 8, 0, 0.99); flex-direction: column; align-items: stretch;
        padding: 1rem; border-bottom: 1px solid rgba(224, 74, 8, 0.2);
        gap: 0.25rem;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 0.75rem 1rem; border-radius: var(--radius); }
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
    background: linear-gradient(160deg, var(--coal) 0%, var(--charcoal) 55%, #3a1800 100%);
    color: #fff; padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(224,74,8,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hero .eyebrow { color: var(--glow); }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--flame); font-style: normal; }
.hero .lead { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 540px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(224,74,8,0.15); border: 1px solid rgba(224,74,8,0.3);
    border-radius: 999px; padding: 0.4rem 1rem;
    font-size: 0.8rem; font-weight: 700; color: var(--glow);
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ─── Cards ──────────────────────────────────────────── */
.card {
    background: #fff; border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg); padding: 2rem;
    box-shadow: var(--shadow-sm); transition: var(--t);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
    font-size: 2.5rem; margin-bottom: 1rem;
}

/* ─── Product cards ──────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft);
    transition: var(--t);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card-image {
    background: linear-gradient(135deg, var(--carbon) 0%, var(--charcoal) 100%);
    height: 200px; display: flex; align-items: center; justify-content: center;
    font-size: 5rem; position: relative; overflow: hidden;
}
.product-card-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(224,74,8,0.15), transparent);
}
.product-card-body { padding: 1.5rem; }
.product-card-body h3 { margin-bottom: 0.5rem; }
.product-card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.price-tag {
    font-size: 1.5rem; font-weight: 900; color: var(--ember);
    margin-bottom: 1rem; display: flex; align-items: baseline; gap: 0.25rem;
}
.price-tag small { font-size: 0.8rem; font-weight: 600; color: var(--ash); }
.features-list { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.features-list li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.9rem; color: var(--muted); padding: 0.3rem 0;
    border-bottom: 1px solid var(--border-soft);
}
.features-list li:last-child { border: none; }
.features-list li::before { content: '✓'; color: var(--ember); font-weight: 700; flex-shrink: 0; }

/* ─── Why section ────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.why-item { text-align: center; padding: 1.5rem; }
.why-item .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.why-item h4 { margin-bottom: 0.4rem; }
.why-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ─── Comparison ─────────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.video-placeholder {
    background: var(--coal); border-radius: var(--radius-lg);
    aspect-ratio: 16/9; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0.75rem;
    border: 2px dashed rgba(224,74,8,0.3); position: relative; overflow: hidden;
    cursor: default;
}
.video-placeholder .play-icon { font-size: 3rem; opacity: 0.5; }
.video-placeholder .vid-label {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ash);
}
.video-placeholder .vid-title { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.6); }
.video-placeholder .badge-soon {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(224,74,8,0.3); color: var(--glow);
    border: 1px solid rgba(224,74,8,0.4);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px;
}

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th {
    background: var(--coal); color: #fff; padding: 1rem 1.25rem;
    text-align: left; font-weight: 700;
}
.compare-table th:first-child { border-radius: var(--radius) 0 0 0; }
.compare-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.compare-table th.hl { background: var(--ember); }
.compare-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border-soft); }
.compare-table tr:last-child td { border: none; }
.compare-table tr:hover td { background: var(--warm-bg); }
.compare-table .hl-col { background: rgba(224,74,8,0.06); font-weight: 700; color: var(--ember); }
.tick  { color: var(--ember); font-weight: 900; }
.cross { color: var(--ash); }

/* ─── Form ───────────────────────────────────────────── */
.form-card {
    max-width: 640px; margin: 0 auto;
    background: #fff; border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg); padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.25rem; }
.field label {
    display: block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
    width: 100%; padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-soft); border-radius: var(--radius);
    font: inherit; font-size: 1rem; color: var(--coal);
    background: var(--cream); transition: var(--t);
    appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--ember);
    box-shadow: 0 0 0 3px rgba(224,74,8,0.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e04a08' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem; padding-right: 2.5rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg {
    border-radius: var(--radius); padding: 0.85rem 1rem;
    margin-bottom: 1.25rem; font-size: 0.95rem;
}
.form-msg.ok  { background: rgba(40,160,80,.1);  border: 1px solid rgba(40,160,80,.3); color: #1a6632; }
.form-msg.err { background: rgba(224,74,8,.08);  border: 1px solid rgba(224,74,8,.3);  color: #a32c00; }

/* ─── Section backgrounds ───────────────────────────── */
.bg-dark    { background: var(--coal); color: #fff; }
.bg-dark .lead { color: rgba(255,255,255,0.65); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-warm    { background: var(--warm-bg); }
.bg-charcoal { background: var(--charcoal); color: #fff; }
.bg-charcoal h2, .bg-charcoal h3 { color: #fff; }
.bg-charcoal .lead { color: rgba(255,255,255,0.65); }

/* ─── Banner / CTA strip ─────────────────────────────── */
.cta-strip {
    background: linear-gradient(135deg, var(--ember) 0%, var(--flame) 100%);
    color: #fff; text-align: center; padding: 3.5rem 0;
}
.cta-strip h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-strip p  { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }

/* ─── About page ─────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-visual {
    background: linear-gradient(135deg, var(--carbon), var(--charcoal));
    border-radius: var(--radius-lg); aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    font-size: 6rem;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
    background: var(--coal); color: rgba(255,255,255,0.55);
    padding: 3rem 0 2rem; border-top: 1px solid rgba(224,74,8,0.15);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { grid-column: 1; }
.footer-brand .brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; font-weight: 900; color: #fff; margin-bottom: 0.75rem; }
.footer-brand p  { font-size: 0.875rem; line-height: 1.6; }
.footer-col h5   { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-bottom: 0.75rem; }
.footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col a    { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: var(--t); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ─── Utilities ──────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
