/* ==============================
   LUMINOUS FOTO - STYLE FORMULIR
   Luxury Minimal Dark Theme
   ============================== */

:root {
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #A68A3C;
    --gold-glow: rgba(201, 168, 76, 0.3);
    --gold-bg: rgba(201, 168, 76, 0.08);
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --bg-card: #0D0D0D;
    --bg-input: #111111;
    --border: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(201, 168, 76, 0.5);
    --text-light: #E8E8E8;
    --text-muted: #888888;
    --text-dim: #555555;
    --white: #FFFFFF;
    --error: #E74C3C;
    --success: #27AE60;
    --popular: #C9A84C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.booking-page {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==============================
   BOOKING WRAPPER
   ============================== */
.booking-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
}

.booking-container {
    width: 100%;
    max-width: 650px;
    padding: 2rem 0;
}

/* ==============================
   HEADER
   ============================== */
.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-logo-link {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.booking-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--gold-glow));
    transition: transform 0.3s ease;
}

.booking-logo:hover {
    transform: scale(1.05);
}

.booking-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.booking-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 300;
}

.gold-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto 0;
    opacity: 0.6;
}

/* ==============================
   ERROR CONTAINER
   ============================== */
.error-container {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.error-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.error-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.error-item {
    font-size: 0.85rem;
    color: #F5A8A0;
    line-height: 1.5;
}

/* ==============================
   FORM SECTION
   ============================== */
.form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.form-section:hover {
    border-color: rgba(201, 168, 76, 0.2);
}

.form-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-dark);
    background: var(--gold-bg);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.1em;
}

/* ==============================
   FORM GROUP
   ============================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-half {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.required {
    color: var(--gold);
}

.optional {
    color: var(--text-dim);
    font-weight: 300;
    font-size: 0.75rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-dim);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 0.8rem;
    line-height: 1.6;
}

.form-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.05);
    background: #141414;
}

.form-input::placeholder {
    color: var(--text-dim);
    font-weight: 300;
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888888' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

select.form-input option {
    background: #1a1a1a;
    color: var(--text-light);
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--error);
    margin-top: 0.4rem;
    min-height: 0;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
    font-style: italic;
}

/* ==============================
   PACKAGE CARDS
   ============================== */
.package-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.package-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-style: italic;
    background: var(--bg-input);
    border-radius: 4px;
    border: 1px dashed var(--border);
}

.package-card {
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    border-color: var(--border-focus);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.package-card.selected {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
    box-shadow: 0 0 20px var(--gold-glow);
}

.package-card.featured {
    border-color: var(--gold-dark);
}

.package-card.featured.selected {
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
}

.package-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 0 0 0 6px;
}

.package-badge.best-value {
    background: rgba(39, 174, 96, 0.2);
    color: #27AE60;
}

.package-badge.most-popular {
    background: rgba(201, 168, 76, 0.2);
    color: var(--gold);
}

.package-badge.premium {
    background: rgba(142, 68, 173, 0.2);
    color: #9B59B6;
}

.package-badge.exclusive {
    background: rgba(255, 255, 255, 0.1);
    color: #CCCCCC;
}

.package-badge.custom {
    background: rgba(52, 152, 219, 0.2);
    color: #3498DB;
}

.package-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.package-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.package-features li {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
    line-height: 1.4;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-dark);
    font-size: 0.65rem;
    top: 1px;
}

/* ==============================
   ORDER SUMMARY
   ============================== */
.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.summary-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    text-align: center;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.summary-price {
    padding-top: 0.8rem;
    border-top: 1px solid var(--gold-dark);
    border-bottom: none;
}

.summary-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.summary-value {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: right;
}

.summary-price .summary-value {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==============================
   SUBMIT BUTTON
   ============================== */
.form-submit {
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--bg-darker);
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--gold-light);
    box-shadow: 0 0 30px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==============================
   FOOTER
   ============================== */
.booking-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-wa-link:hover {
    color: #1da851;
}

/* ==============================
   POPUP SUCCESS
   ============================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.popup-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-dark);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: popupIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-icon {
    margin-bottom: 1.5rem;
    animation: popupIconAnim 0.6s ease 0.2s forwards;
    opacity: 0;
    transform: scale(0);
}

@keyframes popupIconAnim {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.popup-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.popup-countdown {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 1.5rem;
}

.popup-countdown span {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.popup-loader-bar {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.popup-loader-progress {
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    width: 0%;
    transition: width 1s linear;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
    .booking-wrapper {
        padding: 1rem;
    }
    
    .booking-container {
        padding: 1rem 0;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .package-cards {
        grid-template-columns: 1fr;
    }
    
    .booking-title {
        font-size: 1.8rem;
    }
    
    .popup-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 1.2rem;
    }
    
    .form-section-title {
        font-size: 1.2rem;
    }
    
    .package-cards {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        font-size: 0.8rem;
        padding: 0.9rem;
    }
    
}
/* Style untuk dropdown */
.form-input option {
    background: #1a1a1a;
    color: #E8E8E8;
    padding: 0.5rem;
}