/* -----------------------------------------
   BOEKINGSPAGINA – LUXE & MOBIEL PERFECT
------------------------------------------*/

/* -----------------------------------------
   TABS
------------------------------------------*/

.tabs-wrapper {
    position: sticky;
    top: 80px;
    z-index: 50;
    background: rgba(5,5,9,0.96);
    backdrop-filter: blur(12px);
    padding: 8px 0 10px;
    border-bottom: 1px solid rgba(212,175,55,0.25);
    overflow-x: auto;
    white-space: nowrap;
}

/* Luxe donkere horizontale scrollbar voor tabs */
.tabs-wrapper::-webkit-scrollbar {
    height: 6px;
}
.tabs-wrapper::-webkit-scrollbar-track {
    background: #0d0b12;
}
.tabs-wrapper::-webkit-scrollbar-thumb {
    background: rgba(243,216,138,0.55);
    border-radius: 10px;
}
.tabs-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(243,216,138,0.75);
}

.tabs-wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(243,216,138,0.55) #0d0b12;
}

.tabs {
    display: flex;
    gap: 10px;
    padding: 0 8px;
}

.tab-btn {
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid rgba(212,175,55,0.35);
    background: #111018;
    color: var(--gold-soft);
    font-size: 0.88rem;
    cursor: pointer;
    transition: 0.25s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-btn::before {
    content: "●";
    font-size: 0.55rem;
    color: rgba(243,216,138,0.7);
}

.tab-btn:hover {
    border-color: var(--gold-soft);
    box-shadow: 0 0 10px rgba(212,175,55,0.35);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #1a1308;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 0 14px rgba(212,175,55,0.55);
}

.tab-btn.active::before {
    color: #1a1308;
}

/* -----------------------------------------
   SCROLLCONTAINER
------------------------------------------*/

#scroll-container {
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    padding: 0 0 40px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(243,216,138,0.55) #0d0b12;
}

#scroll-container::-webkit-scrollbar {
    height: 6px;
}
#scroll-container::-webkit-scrollbar-track {
    background: #0d0b12;
}
#scroll-container::-webkit-scrollbar-thumb {
    background: rgba(243,216,138,0.55);
    border-radius: 10px;
}
#scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(243,216,138,0.75);
}

#scroll-container section {
    padding: 6px 18px 2px 18px;
}

#scroll-container h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: #f7f7f7;
}

.subcat-title {
    margin-top: 16px;
    margin-bottom: 8px;
    color: var(--gold-soft);
    font-size: 1.05rem;
}

.anchor {
    scroll-margin-top: 120px;
}

/* -----------------------------------------
   TREATMENT CARDS
------------------------------------------*/

.treatments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.treatment-card_boek {
    display: block;
    background: #14121b;
    border: 1px solid rgba(212,175,55,0.25);
    padding: 18px 50px 13px;
    border-radius: 14px;
    transition: 0.22s;
    box-shadow: 0 16px 36px rgba(0,0,0,0.45);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.treatment-card_boek:hover {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(0,175,55,0.25);
    transform: translateY(-1px);
}

.treatment-card_boek:focus,
.treatment-card_boek:active {
    outline: none;
    box-shadow: 0 0 12px rgba(212,175,55,0.25);
}

/* header: links naam + duur onder elkaar, rechts prijs */
.treatment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.treatment-title {
    display: flex;
	left: 8px;
    flex-direction: column;
}

.treatment-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold);
}

.treatment-duration {
    font-size: 0.85rem;
    color: var(--gold-soft);
    margin-top: 2px;
}

.treatment-price {
    font-size: 0.9rem;
    color: var(--gold-soft);
    font-weight: 600;
}

.treatment-extra {
    margin-top: 3px;
    font-size: 0.8rem;
    color: var(--gold-soft);
}

/* eventueel nog bruikbaar, maar niet meer nodig voor duur */
.treatment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* -----------------------------------------
   MOBIEL
------------------------------------------*/

@media (max-width: 768px) {

    .hero {
        grid-template-columns: 1fr;
        padding: 18px 16px;
        gap: 14px;
    }

    .hero-right {
        max-width: 190px;
        order: -1;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    #scroll-container {
        padding-bottom: 60px;
    }

    .tabs-wrapper {
        top: 72px;
    }

    #scroll-container section {
        padding-inline: 14px;
    }
}

/* ⭐ Wrapper zodat info‑icoon boven card kan staan */
.treatment-card-wrapper {
    position: relative;
    padding-top: 4px;
}

/* ⭐ Info icoon */
.info-btn {
    position: absolute;
    top: 30px;
    left: 8px;
    background: rgba(212,175,55,0.15);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(4px);
    transition: 0.2s;
}

.info-btn:hover {
    background: rgba(212,175,55,0.35);
}

/* ⭐ Popup overlay */
#treatment-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    z-index: 200;
}

/* ⭐ Popup zelf */
#treatment-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 500px);
    background: #0f0d16;
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 25px;
    z-index: 201;
    box-shadow: 0 0 25px rgba(212,175,55,0.35);
    animation: fadeIn 0.25s ease-out;
}

#treatment-popup h2 {
    color: var(--gold);
    margin-bottom: 12px;
}

#popup-content {
    max-height: 300px;
    overflow-y: auto;
    color: #dcdcdc;
    line-height: 1.45;
    margin-bottom: 15px;
}

#popup-extra p {
    color: #e0e0e0;
    margin: 4px 0;
}

#popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* -----------------------------------------
   ⭐ STAP 2 – DATUM & TIJD POPUP
------------------------------------------*/

#step2-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    z-index: 300;
}

#step2-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 480px);
    background: #0f0d16;
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 26px 24px 30px;
    z-index: 301;
    box-shadow: 0 0 25px rgba(212,175,55,0.35);
}

#step2-title {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

#date-input {
    width: 100%;
    padding: 10px 12px;
    background: #14121b;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 8px;
    color: var(--gold-soft);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

#date-input:focus {
    outline: none;
    border-color: var(--gold);
}

#time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.time-slot-btn {
    padding: 10px 0;
    background: #14121b;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 8px;
    color: var(--gold-soft);
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}

.time-slot-btn:hover {
    border-color: var(--gold);
    background: rgba(212,175,55,0.15);
}

.time-slot-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #1a1308;
    border-color: transparent;
    font-weight: 600;
}

#to-step3 {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border: none;
    border-radius: 10px;
    color: #1a1308;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

#to-step3:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#step2-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 22px;
    cursor: pointer;
}

/* -----------------------------------------
   ⭐ STAP 3 – KLANTGEGEVENS POPUP
------------------------------------------*/

#step3-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    z-index: 400;
}

#step3-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 480px);
    background: #0f0d16;
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 26px 24px 30px;
    z-index: 401;
    box-shadow: 0 0 25px rgba(212,175,55,0.35);
}

.step3-title {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

#step3-form label {
    color: var(--gold-soft);
    font-size: 0.9rem;
    margin-top: 10px;
    display: block;
}

#step3-form input,
#step3-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: #14121b;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 8px;
    color: var(--gold-soft);
    font-size: 0.95rem;
    margin-top: 4px;
}

#step3-form input:focus,
#step3-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.confirm-btn {
    width: 100%;
    padding: 12px;
    margin-top: 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border: none;
    border-radius: 10px;
    color: #1a1308;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

#step3-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 22px;
    cursor: pointer;
}

/* -----------------------------------------
   ⭐ STAP 4 – BEDANKT POPUP
------------------------------------------*/

#step4-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    z-index: 500;
}

#step4-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 480px);
    background: #0f0d16;
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 26px 24px 30px;
    z-index: 501;
    box-shadow: 0 0 25px rgba(212,175,55,0.35);
}

#step4-popup h2 {
    color: var(--gold);
    margin-bottom: 14px;
}

#step4-content p {
    color: #e0e0e0;
    margin: 6px 0;
    font-size: 0.95rem;
}

#step4-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 22px;
    cursor: pointer;
}

#step4-close-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border: none;
    border-radius: 10px;
    color: #1a1308;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.step4-intro {
    margin-bottom: 15px;
    color: #d4af37;
    font-weight: 500;
}

.step4-details p {
    margin: 6px 0;
}

.step4-footer {
    margin-top: 20px;
    opacity: 0.8;
}

.bedankt-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.bedankt-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.bedankt-list strong {
    color: #ffffff; /* LABELS WIT */
    font-weight: 600;
}

/* EXTRA RUIMTE IN DE POPUP – ZONDER LAYOUT TE BREKEN */
/* Meer ruimte onder de kalender */
#calendar-container {
    margin-bottom: 22px;
}

/* Meer ruimte tussen de tijdknoppen, maar layout blijft hetzelfde */
#slots-container button {
    margin: 6px 4px; /* horizontaal + verticaal wat extra lucht */
}

/* Meer ruimte boven de knop Verder */
#to-step3 {
    margin-top: 22px;
}
/* Bedankt-popup styling zoals bedankt.php, maar direct in #step4-popup */

.step4-intro {
    margin-bottom: 10px;
    color: var(--gold-soft, #d4af37);
    font-weight: 500;
}

.step4-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.step4-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.step4-list strong {
    color: #ffffff;
    font-weight: 600;
}

.step4-footer-text {
    margin-top: 10px;
    opacity: 0.9;
}

/* Luxe autofill fix – behoud originele styling 
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--gold-soft) !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 9999s ease-in-out 0s;
}
*/