/* --- RESET & GENERAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #f8fafc;
    font-family: Arial, Helvetica, sans-serif;
    color: #334155;
    line-height: 1.5;
}

/* --- 1. TOP NAVIGATION BAR (MAROON) --- */
.top-nav-bar {
    background-color: #8b1e1e;
    border-bottom: 2px solid #731717;
    width: 100%;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.top-nav-container {
    display: flex;
    align-items: center;
}
.top-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
}
.top-menu li {
    list-style: none !important;
    display: inline-block;
}
.top-menu li a {
    display: block;
    padding: 0.65rem 0.9rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background-color 0.2s;
}
.top-menu li a:hover,
.top-menu li.active a {
    background-color: rgba(0, 0, 0, 0.25);
}
.top-menu li a i {
    font-size: 0.7rem;
    margin-left: 3px;
}

/* --- 2. MAIN BRANDING HEADER (LOGO & HOTLINE) --- */
.main-branding-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.9rem 0;
}
.branding-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-header-logo {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Hotline & Kontak */
.brand-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.hotline-box {
    text-align: right;
}
.hotline-label {
    display: block;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 700;
}
.hotline-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: #8b1e1e;
    text-decoration: none;
}
.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}
.cta-text {
    font-size: 0.72rem;
    color: #64748b;
}
.btn-contact-us {
    background-color: #ea580c;
    color: #ffffff;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-contact-us:hover {
    background-color: #c2410c;
}

/* --- 3. TICKER BAR --- */
.info-ticker-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.45rem 0;
    margin-bottom: 2rem;
}
.ticker-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ticker-badge {
    color: #8b1e1e;
    font-weight: 800;
    font-size: 0.82rem;
}
.ticker-text {
    font-size: 0.82rem;
    color: #475569;
}

/* --- 4. FORM BOOKING STYLES --- */
.modern-booking-wrapper {
    max-width: 950px;
    margin: 0 auto 3rem auto;
    color: #2c3e50;
    font-size: 16px !important;
    padding: 0 1rem;
}
.booking-header {
    text-align: center;
    margin-bottom: 1.8rem;
}
.booking-header h2 {
    color: #1a365d;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.booking-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* STEPPER */
.stepper-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1.8rem;
}
.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.45;
    transition: opacity 0.2s;
}
.step-dot.active, .step-dot.completed { opacity: 1; }
.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid #cbd5e1;
}
.step-dot.active .step-number { background: #3b82f6; color: #fff; border-color: #3b82f6; }
.step-dot.completed .step-number { background: #16a34a; color: #fff; border-color: #16a34a; }
.step-label { font-size: 0.7rem; font-weight: 600; color: #64748b; }
.step-line { width: 2rem; height: 2px; background: #cbd5e1; margin-bottom: 1rem; }

/* FORM BLOK */
.form-block {
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}
.form-block.locked { display: none; }
.form-block:nth-of-type(1) { border-left: 6px solid #60a5fa; background: #f8fafc; }
.form-block:nth-of-type(2) { border-left: 6px solid #c084fc; background: #f8fafc; }
.form-block:nth-of-type(3) { border-left: 6px solid #4ade80; background: #f8fafc; }
.form-block:nth-of-type(4) { border-left: 6px solid #facc15; background: #f8fafc; }

.block-title {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #cbd5e1;
    font-weight: 700;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}
.input-group input[type="text"],
.input-group input[type="tel"],
.input-group select,
.input-group textarea {
    padding: 0.7rem 0.85rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #ffffff;
    color: #1e293b;
    width: 100%;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* KOTAK INFORMASI PINK PASTEL */
.info-ktp-box {
    background-color: #fdf2f8;
    border: 1.5px solid #fbcfe8;
    color: #9d174d;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.4;
}
.info-ktp-box i {
    font-size: 1.1rem;
    color: #db2777;
    flex-shrink: 0;
}

/* BADGE TANGGAL */
.label-with-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.35rem;
}
.date-preview-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1d4ed8;
    background-color: #eff6ff;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    display: none;
    border: 1.5px solid #3b82f6;
}
.date-error-message {
    display: none;
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.3rem;
}

/* RADIO CARDS */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card .card-content {
    display: block;
    padding: 0.85rem;
    text-align: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}
.radio-card input:checked ~ .card-content {
    border-color: #3b82f6;
    background-color: #eff6ff;
    color: #1d4ed8;
}

/* TAG ANGGOTA */
.add-member-wrapper { display: flex; gap: 0.5rem; }
.add-member-wrapper input { flex: 1; }
.add-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    min-width: 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}
.member-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.member-tag {
    background: #dcfce7;
    color: #166534;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #bbf7d0;
}
.remove-member { cursor: pointer; font-weight: bold; }

/* NAV BUTTONS */
.step-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.btn-next, .btn-prev {
    padding: 0.75rem 1.3rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}
.btn-next { background: #2563eb; color: #ffffff; margin-left: auto; }
.btn-prev { background: #e2e8f0; color: #475569; }
.premium-submit-btn {
    width: auto;
    flex: 1;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.checkbox-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.checkbox-group label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; cursor: pointer; }
.mt-15 { margin-top: 1rem; }
.hidden { display: none !important; }

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
}
.modal-title { font-size: 1.15rem; color: #1e293b; border-bottom: 1.5px solid #f1f5f9; padding-bottom: 0.5rem; margin-bottom: 0.5rem; }
.modal-content p { margin: 0.3rem 0; font-size: 0.85rem; }
.modal-actions { display: flex; gap: 1rem; margin-top: 1.2rem; }
.btn-cancel { flex: 1; padding: 0.75rem; background: #e2e8f0; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; color: #475569; }
.btn-confirm { flex: 1; padding: 0.75rem; background: #16a34a; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; color: white; }

/* RESPONSIF LAYAR KECIL */
@media (max-width: 768px) {
    .branding-container { flex-direction: column; gap: 1rem; text-align: center; }
    .brand-right { flex-direction: column; gap: 0.5rem; }
    .site-header-logo { height: 46px; margin: 0 auto; }
    .hotline-box, .contact-cta { align-items: center; text-align: center; }
    .top-menu ul { justify-content: center; }
    .form-row, .radio-cards { grid-template-columns: 1fr; }
}