/* booking.css — Shared Booking Overlay (Typeform-style, Dark Luxury) */

/* ============================================
   Overlay Container
   ============================================ */
.booking-overlay {
    position: fixed;
    inset: 0;
    background: #1a3a2f;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
    -webkit-font-smoothing: antialiased;
}

.booking-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Header
   ============================================ */
.bk-header {
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.bk-logo {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: .13em;
    color: #f5f2ed;
}

.bk-logo-club {
    font-style: italic;
    font-weight: 400;
    font-size: .95rem;
    letter-spacing: .06em;
    color: rgba(255,255,255,.4);
    margin-left: 4px;
}

.bk-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(255,255,255,.15);
    cursor: pointer;
    color: rgba(255,255,255,.5);
    font-size: 1.2rem;
    transition: all .3s;
}

.bk-close:hover {
    border-color: rgba(255,255,255,.3);
    color: #f5f2ed;
}

/* ============================================
   Progress Bar
   ============================================ */
.bk-progress { height: 2px; background: rgba(255,255,255,.1); }
.bk-progress-fill { height: 100%; background: var(--gold); transition: width .6s cubic-bezier(.23,1,.32,1); width: 0%; }

/* ============================================
   Main Content Area
   ============================================ */
.bk-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow */
.bk-main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,162,101,.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   Steps (shared)
   ============================================ */
.bk-step {
    position: absolute;
    width: 100%;
    max-width: 520px;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(40px);
    transition: all .5s cubic-bezier(.23,1,.32,1);
    pointer-events: none;
}

.bk-step.active { opacity: 1; transform: translateY(0); pointer-events: all; }
.bk-step.exit-up { opacity: 0; transform: translateY(-40px); }

.bk-step-number {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.bk-step-question {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #f5f2ed;
    line-height: 1.4;
    margin-bottom: 32px;
}

.bk-step-sub {
    font-size: .95rem;
    font-weight: 300;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ============================================
   Piece Thumbnail & Badge (Step 0)
   ============================================ */
.bk-piece-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    margin-bottom: 20px;
    display: none;
}

.bk-piece-badge {
    display: none;
    font-size: .78rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: .04em;
    margin-bottom: 20px;
    padding: 10px 20px;
    border: 1px solid rgba(196,162,101,.35);
    background: rgba(196,162,101,.08);
}

/* ============================================
   Start Button (Step 0)
   ============================================ */
.bk-btn-start {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--gold);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #1a3a2f;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
}

.bk-btn-start:hover { background: var(--gold-light, #d4b87a); }
.bk-btn-start svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================
   Form (Step 1)
   ============================================ */
.bk-form {
    width: 100%;
}

.bk-field {
    margin-bottom: 20px;
}

.bk-input {
    width: 100%;
    padding: 0 0 12px 0;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,.2);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #f5f2ed;
    background: transparent;
    outline: none;
    transition: border-color .3s;
    box-sizing: border-box;
}

.bk-input:focus { border-bottom-color: var(--gold); }
.bk-input::placeholder { color: rgba(255,255,255,.3); font-weight: 200; }

.bk-textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,.2);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 300;
    color: #f5f2ed;
    background: transparent;
    outline: none;
    transition: border-color .3s;
    resize: none;
    min-height: 60px;
    box-sizing: border-box;
}

.bk-textarea:focus { border-bottom-color: var(--gold); }
.bk-textarea::placeholder { color: rgba(255,255,255,.3); font-weight: 200; }

.bk-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--gold);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #1a3a2f;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    margin-top: 8px;
}

.bk-submit-btn:hover { background: var(--gold-light, #d4b87a); }
.bk-submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.bk-submit-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.bk-error {
    color: #e57373;
    font-size: .8rem;
    margin-top: 12px;
    display: none;
}

.bk-error.visible { display: block; }

.bk-privacy {
    font-size: .7rem;
    color: rgba(255,255,255,.35);
    margin-top: 16px;
    line-height: 1.5;
}

.bk-privacy a { color: var(--gold); text-decoration: underline; }

.bk-turnstile-wrap {
    margin-top: 16px;
    min-height: 65px;
}

/* ============================================
   Thank You (Step 2)
   ============================================ */
.bk-thank-you { text-align: center; }

.bk-thank-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.bk-thank-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 2; }
.bk-thank-you .bk-step-question { margin-bottom: 16px; }
.bk-thank-sub { font-size: .95rem; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.7; }

.bk-gcal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 12px 28px;
    border: 1px solid var(--gold);
    background: none;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s;
}

.bk-gcal-link:hover { background: var(--gold); color: #1a3a2f; }
.bk-gcal-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.bk-thank-tagline {
    margin-top: 40px;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: .9rem;
    color: rgba(255,255,255,.35);
    letter-spacing: .04em;
}

/* ============================================
   Footer
   ============================================ */
.bk-footer {
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.08);
}

.bk-btn-back {
    padding: 12px 24px;
    background: none;
    border: 1px solid rgba(255,255,255,.15);
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
}

.bk-btn-back:hover { border-color: rgba(255,255,255,.3); color: #f5f2ed; }
.bk-btn-back:disabled { opacity: 0; pointer-events: none; }

.bk-btn-next {
    padding: 14px 36px;
    background: var(--gold);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #1a3a2f;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bk-btn-next:hover { background: var(--gold-light, #d4b87a); }
.bk-btn-next:disabled { opacity: .3; cursor: not-allowed; }
.bk-btn-next svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.bk-key-hint { font-size: .65rem; color: rgba(255,255,255,.3); letter-spacing: .05em; }
.bk-key-hint kbd { display: inline-block; padding: 2px 8px; border: 1px solid rgba(255,255,255,.15); font-family: 'Inter', sans-serif; font-size: .6rem; margin: 0 2px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.4); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .bk-header { padding: 16px 20px; }
    .bk-main { padding: 32px 20px; }
    .bk-footer { padding: 16px 20px; }
    .bk-step-question { font-size: 1.5rem; margin-bottom: 24px; }
    .bk-key-hint { display: none; }
    .bk-btn-next { padding: 14px 28px; }
    .bk-btn-back { padding: 14px 24px; min-height: 44px; }
    .bk-submit-btn { width: 100%; justify-content: center; }
}
