/* ============================================================
   DakdragerVerhuur — Premium stijl
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   Design tokens
   ============================================================ */
:root {
    --navy:         #0d1b2a;
    --navy-mid:     #1b2d42;
    --navy-light:   #243b55;
    --goud:         #c9a84c;
    --goud-licht:   #e8d5a3;
    --goud-donker:  #a8882f;
    --room:         #faf8f4;
    --wit:          #ffffff;
    --tekst:        #1a1a2e;
    --tekst-zacht:  #64748b;
    --rand:         #e8e4dc;
    --radius-sm:    6px;
    --radius:       12px;
    --radius-lg:    20px;
    --schaduw-sm:   0 2px 8px rgba(13,27,42,.08);
    --schaduw:      0 8px 32px rgba(13,27,42,.12);
    --schaduw-lg:   0 20px 60px rgba(13,27,42,.18);
    --overgang:     .25s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   Basis
   ============================================================ */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--tekst);
    background: var(--wit);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy);
    line-height: 1.25;
}

/* Bootstrap overrides */
.bg-primary        { background-color: var(--navy) !important; }
.text-primary      { color: var(--navy) !important; }
.text-accent       { color: var(--goud) !important; }
.border-secondary  { border-color: var(--rand) !important; }

/* Knoppen */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: .02em;
    transition: all var(--overgang);
}

.btn-primary {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--wit);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    color: var(--wit);
    box-shadow: 0 4px 16px rgba(13,27,42,.25);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--goud);
    border-color: var(--goud);
    color: var(--navy);
    font-weight: 700;
}
.btn-accent:hover, .btn-accent:focus {
    background: var(--goud-donker);
    border-color: var(--goud-donker);
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(201,168,76,.35);
    transform: translateY(-1px);
}

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

.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
    color: var(--wit);
    border-color: rgba(255,255,255,.6);
}

/* Badges */
.badge-categorie {
    font-family: 'Inter', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--goud) !important;
    color: var(--navy) !important;
    border-radius: 4px;
    padding: .3em .7em;
}

/* ============================================================
   Navigatie
   ============================================================ */
.navbar {
    background: var(--navy) !important;
    padding: 18px 0;
    border-bottom: 1px solid rgba(201,168,76,.15);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--wit) !important;
    letter-spacing: .01em;
}

.navbar-brand .brand-accent {
    color: var(--goud);
}

.navbar .nav-link {
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255,255,255,.75) !important;
    letter-spacing: .03em;
    padding: 6px 14px !important;
    transition: color var(--overgang);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--goud) !important;
}

/* ============================================================
   USP-balk
   ============================================================ */
.usp-bar {
    background: var(--goud);
    color: var(--navy);
    padding: 10px 0;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.usp-item { display: flex; align-items: center; gap: 7px; }
.usp-bar i { opacity: .8; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e3a5f 100%);
    color: var(--wit);
    padding: 110px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Subtiel patroon */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(201,168,76,.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Gouden lijn links */
.hero .col-lg-6:first-child::before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--goud);
    margin-bottom: 24px;
    border-radius: 2px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--wit);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--wit);
    line-height: 1.15;
    letter-spacing: -.01em;
}

.hero h1 span { color: var(--goud); }
.hero .lead { font-size: 1.1rem; opacity: .85; font-weight: 300; }

/* Hero foto */
.hero-foto {
    display: inline-block;
    margin: 0 auto;
    position: relative;
    max-width: 380px;
    width: 100%;
}
.hero-foto img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}
/* Fading overlay via pseudo-element — werkt in alle browsers */
.hero-foto::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(ellipse at center,
        transparent 35%,
        rgba(13,27,42,.55) 70%,
        rgba(13,27,42,.92) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   Sectie-titels
   ============================================================ */
.sectie-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--goud);
    display: block;
    margin-bottom: 10px;
}

/* ============================================================
   "Hoe werkt het" stappen
   ============================================================ */
.stap-blok {
    background: var(--wit);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: transform var(--overgang), box-shadow var(--overgang);
}
.stap-blok:hover {
    transform: translateY(-6px);
    box-shadow: var(--schaduw);
    border-color: var(--goud-licht);
}

.stap-icoon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--goud);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(13,27,42,.2);
}

.stap-blok h5 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

/* Stapnummer in de hoek */
.stap-nr {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--rand);
    line-height: 1;
    user-select: none;
}

/* ============================================================
   Productkaarten
   ============================================================ */
.product-kaart {
    background: var(--wit);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--overgang), box-shadow var(--overgang), border-color var(--overgang);
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.product-kaart:hover {
    transform: translateY(-6px);
    box-shadow: var(--schaduw-lg);
    border-color: var(--goud-licht);
}

.product-afbeelding {
    height: 210px;
    background: var(--room);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--navy);
    position: relative;
    overflow: hidden;
}

.product-afbeelding img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--overgang);
}
.product-kaart:hover .product-afbeelding img {
    transform: scale(1.04);
}

.product-kaart .p-4 { flex: 1; display: flex; flex-direction: column; }

.prijs-dag {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy);
}
.prijs-dag span {
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 400;
    color: var(--tekst-zacht);
}

/* Tarieftabel op productkaarten */
.tarief-tabel {
    background: var(--room);
    border: 1px solid var(--rand);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: .8rem;
}
.tarief-rij {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    color: var(--tekst-zacht);
    gap: 8px;
}
.tarief-rij:first-child {
    border-bottom: 1px solid var(--rand);
    background: rgba(201,168,76,.06);
    color: var(--navy);
    font-weight: 500;
}
.tarief-rij strong {
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

/* Beschikbaarheidsbadges */
.badge-beschikbaar     { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-beperkt         { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.badge-niet-beschikbaar { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================================
   Boekingsformulier
   ============================================================ */
.boekings-box {
    background: var(--wit);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--schaduw-sm);
}

.boekings-box .form-control,
.boekings-box .form-select {
    border-color: var(--rand);
    border-radius: var(--radius-sm);
    font-size: .92rem;
    transition: border-color var(--overgang), box-shadow var(--overgang);
}
.boekings-box .form-control:focus,
.boekings-box .form-select:focus {
    border-color: var(--goud);
    box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

.prijs-overzicht {
    background: var(--room);
    border: 1px solid var(--rand);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
}
.prijs-overzicht .totaalregel {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    border-top: 1px solid var(--rand);
    padding-top: 12px;
    margin-top: 10px;
}

/* Checkout stappen */
.checkout-stappen {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
}
.checkout-stap { display: flex; align-items: center; gap: 8px; }
.checkout-stap .nr {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    background: var(--rand);
    color: var(--tekst-zacht);
    font-family: 'Inter', sans-serif;
}
.checkout-stap.actief .nr { background: var(--navy); color: var(--wit); }
.checkout-stap.gedaan .nr { background: #10b981; color: var(--wit); }
.checkout-stap-lijn { width: 56px; height: 1px; background: var(--rand); }

#beschikbaarheid-resultaat { min-height: 36px; transition: all .3s; }

/* ============================================================
   Status badges
   ============================================================ */
.status-wacht_op_betaling { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.status-betaald           { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.status-geannuleerd       { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.status-afgerond          { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ============================================================
   Admin
   ============================================================ */
.admin-sidebar {
    width: 240px;
    min-height: 100vh;
    background: var(--navy);
    padding: 0;
    border-right: 1px solid rgba(201,168,76,.1);
}

.admin-sidebar .brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(201,168,76,.1);
    font-family: 'Playfair Display', serif;
    color: var(--wit);
    font-size: 1.05rem;
}
.admin-sidebar .brand span { color: var(--goud); }

.admin-sidebar .nav-link {
    color: rgba(255,255,255,.6);
    padding: 11px 20px;
    border-radius: 0;
    font-size: .875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--overgang);
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-link i { width: 16px; text-align: center; opacity: .7; }
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--wit);
    background: rgba(255,255,255,.06);
    border-left-color: var(--goud);
}
.admin-sidebar .nav-link.active i { opacity: 1; color: var(--goud); }

.admin-content {
    flex: 1;
    padding: 36px;
    background: var(--room);
    min-height: 100vh;
}

.stat-kaart {
    background: var(--wit);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--schaduw-sm);
    transition: box-shadow var(--overgang);
}
.stat-kaart:hover { box-shadow: var(--schaduw); }
.stat-kaart .waarde {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.stat-kaart .label {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tekst-zacht);
    margin-top: 4px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--navy) !important;
    border-top: 1px solid rgba(201,168,76,.15);
}

.footer h5, .footer h6 {
    color: var(--wit);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-link {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: .88rem;
    line-height: 2.2;
    transition: color var(--overgang);
}
.footer-link:hover { color: var(--goud); }

.footer .text-secondary { color: rgba(255,255,255,.4) !important; }
.footer hr { border-color: rgba(255,255,255,.08) !important; }

/* ============================================================
   Alerts & meldingen
   ============================================================ */
.melding-succes { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: var(--radius-sm); padding: 16px 20px; }
.melding-fout   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; border-radius: var(--radius-sm); padding: 16px 20px; }
.melding-info   { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; border-radius: var(--radius-sm); padding: 16px 20px; }

/* ============================================================
   Voordelen sectie
   ============================================================ */
.voordeel-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--rand);
}
.voordeel-item:last-child { border-bottom: none; }
.voordeel-icoon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
    .hero            { padding: 70px 0 60px; }
    .hero::after     { height: 50px; }
    .boekings-box    { padding: 24px; }
    .admin-content   { padding: 20px; }
    .stat-kaart      { padding: 20px; }
}

@media (max-width: 575px) {
    .hero            { padding: 56px 0 48px; }
}
