/* ================================================================
   BESTEL-JE-KIP — home.css (v2 professional)
   ================================================================ */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variabelen */
:root {
    --primary:       #E85D04;
    --primary-dark:  #C44D02;
    --primary-light: #FFF0E8;

    --text:          #111827;
    --text-mid:      #374151;
    --text-light:    #6B7280;
    --text-lighter:  #9CA3AF;

    --bg:            #FFFFFF;
    --bg-soft:       #F9FAFB;
    --bg-light:      #F3F4F6;
    --border:        #E5E7EB;
    --border-light:  #F3F4F6;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow:     0 4px 12px rgba(0,0,0,.08);
    --shadow-md:  0 8px 24px rgba(0,0,0,.10);
    --shadow-lg:  0 16px 40px rgba(0,0,0,.12);

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    --font-body:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --transition: 180ms ease;
}

/* Base */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   NAVIGATIE
   ================================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary);
    border-bottom: 1px solid var(--primary-dark);
    box-shadow: 0 2px 8px rgba(232,93,4,.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    padding-top: 13px;
    padding-bottom: 13px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.2px;
}

.logo-tag {
    font-size: 11px;
    color: rgba(255,255,255,.75);
    font-weight: 400;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    background: var(--bg);
    padding: 56px 0 64px;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

/* Linker kolom */
.hero-story {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    width: fit-content;
    border: 1px solid rgba(232,93,4,.18);
}

.hero-story h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text);
}

.gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 460px;
}

/* Product details kaart */
.product-details {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-mid);
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.delivery-info svg {
    color: var(--text-lighter);
    flex-shrink: 0;
}

/* Sale info blok */
.sale-info {
    background: linear-gradient(135deg, #FFF8F0, #FFF2E8);
    border: 1px solid rgba(232,93,4,.18);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sale-info-top {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.countdown-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.days-highlight {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
}

.sale-date {
    font-family: var(--font-serif);
    font-size: 1.4375rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.availability {
    font-size: 0.875rem;
    color: var(--text-light);
}

.availability strong {
    color: var(--primary);
    font-weight: 700;
}

/* Knoppen */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    width: fit-content;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(232,93,4,.32);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,93,4,.38);
}

.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Rechter kolom — afbeelding */
.hero-img {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 19px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-card h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.info-card p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.45;
    margin-bottom: 3px;
}

.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--text-mid); font-weight: 600; }
.info-card em { color: var(--text-lighter); font-size: 0.75rem; }

/* ================================================================
   FEATURES / USP SECTIE
   ================================================================ */
.features {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 44px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* ================================================================
   ORDER SECTIE
   ================================================================ */
.order {
    background: var(--bg-soft);
    padding: 64px 0;
}

.order-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 10px;
}

.order h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.order-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.65;
}

.alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: var(--radius);
    color: #92400E;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Formulier */
.order-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full { grid-column: 1 / -1; }

.field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-mid);
    letter-spacing: 0.01em;
}

.field label .optional {
    font-weight: 400;
    color: var(--text-lighter);
}

.field input,
.field textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,93,4,.1);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-lighter); }

.field textarea {
    resize: vertical;
    min-height: 90px;
}

.field small {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

/* Quantity */
.qty {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    background: var(--bg-light);
    border: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-mid);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qty-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.qty input {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 1.0625rem;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    border-radius: 0;
    padding: 11px 8px;
    outline: none;
}

/* Totaalprijs weergave */
.price-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 11px 16px;
    background: linear-gradient(135deg, #FFF8F3, #FFF2EB);
    border: 1.5px solid rgba(232,93,4,.2);
    border-radius: var(--radius);
    min-height: 48px;
}

.price-display .amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.price-display .btw {
    font-size: 0.725rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

/* Form footer */
.form-footer {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-submit {
    width: 100%;
    max-width: 420px;
    padding: 15px 32px;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(232,93,4,.32);
    transition: all var(--transition);
    justify-content: center;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,93,4,.38);
}

.btn-submit:disabled {
    background: var(--text-lighter);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.payment-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-lighter);
}

/* Berichten */
.message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
}

.message.success {
    background: #D1FAE5;
    border: 1px solid #6EE7B7;
    color: #065F46;
}

.message.error {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

.message.hidden { display: none; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
    background: #111827;
    color: white;
    padding: 32px 0;
}

/* Alles in één horizontale rij */
.footer-content {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Logo: afbeelding + naam naast elkaar */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer-logo .logo-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
}

.footer-logo span {
    font-size: 15px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

/* Scheiding */
.footer-brand .footer-sep {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* Beschrijving */
.footer-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,.45);
    line-height: 1.5;
}

/* Copyright */
.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,.25);
    white-space: nowrap;
    margin-left: auto;
}

.footer-bottom { text-align: center; }

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,.25);
}

.footer-bottom a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover { color: white; }

/* ================================================================
   RESPONSIVE — Tablet (≤ 900px)
   ================================================================ */
@media (max-width: 900px) {

    /* Hero: smal 2-koloms grid */
    .hero { padding: 40px 0 48px; }

    .hero-main {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }

    .img-wrap { aspect-ratio: 3/4; }

    .image-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Features: 3 blijft maar compacter */
    .features-grid { gap: 12px; }

}

/* ================================================================
   RESPONSIVE — Mobiel (≤ 640px)
   ================================================================ */
@media (max-width: 640px) {

    .container { padding: 0 16px; }

    /* --- Navbar --- */
    .logo-tag { display: none; }

    /* --- Hero: één kolom, tekst boven, afbeelding onder --- */
    .hero { padding: 24px 0 36px; }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Tekst kolom bovenaan */
    .hero-story {
        order: 1;
        gap: 16px;
    }

    /* Afbeelding daarna, compact en breed */
    .hero-img {
        order: 2;
        gap: 0;
    }

    .img-wrap {
        aspect-ratio: 3/2;
        max-height: 220px;
        border-radius: var(--radius-lg);
    }

    /* Info-kaarten tonen op mobiel, naast elkaar onder de afbeelding */
    .image-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    .info-card {
        padding: 10px 12px;
    }

    .info-card h3 { font-size: 0.7rem; }
    .info-card p  { font-size: 0.75rem; }

    /* Typografie verkleinen */
    .hero-story h1  { font-size: 1.625rem; }
    .story-description { font-size: 0.9375rem; }
    .price-amount   { font-size: 1.75rem; }
    .sale-date      { font-size: 1.25rem; }

    /* Knop op volle breedte */
    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* --- Features: 1 kolom --- */
    .features { padding: 28px 0; }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-card { padding: 16px 14px; }

    /* --- Bestelformulier --- */
    .order { padding: 40px 0; }

    .order-form { padding: 24px 16px; }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .field.full { grid-column: 1; }

    .btn-submit { max-width: 100%; }

    /* --- Footer --- */
    footer { padding: 24px 0 16px; }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-sep { display: none; }

    .footer-copy { margin-left: 0; }
}

/* ================================================================
   RESPONSIVE — Klein mobiel (≤ 400px)
   ================================================================ */
@media (max-width: 400px) {
    .hero-story h1   { font-size: 1.375rem; }
    .price-amount    { font-size: 1.5rem; }
    .order-form      { padding: 18px 12px; }
    .img-wrap        { max-height: 180px; }
}
