/* --- BOOKING PREMIUM DESIGN --- */

/* Booking Section */
#booking {
    background: radial-gradient(circle at top center, rgba(30, 30, 30, 0.35) 0%, rgba(5, 11, 20, 1) 70%);
    min-height: 100vh;
    margin-top: 0 !important;
    display: block !important;
    transform: none !important;
    padding-top: 80px; /* Header space */
    padding-bottom: 120px;
}

/* Section Title */
.booking-header {
    text-align: center;
    margin-bottom: 50px;
}

#booking .booking-header h4,
#booking .booking-header h2,
#booking .booking-header p {
    margin-top: 0 !important;
}

.booking-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #fff;
}

.booking-header .divider {
    width: 80px;
    margin: 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Form Container */
.booking-container {
    background: linear-gradient(150deg, rgba(16, 20, 28, 0.9), rgba(8, 10, 16, 0.96));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 22px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 24px rgba(212, 175, 55, 0.09);
    padding: 50px !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.booking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0), var(--accent-gold), rgba(212, 175, 55, 0));
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: rgba(241, 223, 178, 0.95);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Inputs & Selects */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea,
.glass-input {
    width: 100%;
    background: rgba(2, 4, 8, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-gold) !important;
    background: rgba(2, 4, 8, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14), 0 0 20px rgba(212, 175, 55, 0.24);
}

/* Custom Select Arrow - Changed to Blue for higher visibility as requested */
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300b4ff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 16px auto;
}

#service-select {
    border: 1px solid rgba(0, 180, 255, 0.3) !important;
}

#service-select:focus {
    border-color: #00b4ff !important;
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.3);
}

/* Calendar styling (limited cursor control in pure css but aiming for consistency) */
::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

/* Payment Plans */
.payment-plans {
    background: rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.22);
    margin: 30px 0;
}

.payment-plans h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-plans h4 i {
    color: var(--accent-gold);
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #ccc;
    transition: color 0.3s;
}

.radio-option:hover {
    color: #fff;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* Contract & Signature */
#contract-section {
    margin-top: 40px;
}

.contract-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    height: 150px;
    overflow-y: auto;
    font-size: 0.85rem;
    color: #d0c8bc;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.signature-area {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.signature-area:hover {
    border-color: var(--accent-gold);
}

#signature-pad {
    width: 100%;
    height: 150px;
    display: block;
    cursor: crosshair;
}

#clear-signature {
    margin-top: 10px;
    color: #ff6b6b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

#clear-signature:hover {
    color: #ff3b3b;
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    margin-top: 40px;
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--accent-gold), #b4941f);
    color: #000;
    border: none;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.5);
}

/* Payment Modal Global Fixes & Centering */
#payment-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5000 !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) rgba(0, 0, 0, 0.3);
}

#payment-modal::-webkit-scrollbar {
    width: 6px;
}

#payment-modal::-webkit-scrollbar-thumb {
    background-color: var(--accent-gold);
    border-radius: 3px;
}

/* Bottom Info Cards */
.booking-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    padding: 25px;
    border-top: 3px solid var(--accent-gold);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 0 0 12px 12px;
    transition: transform 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent);
}

.info-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.info-card h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .booking-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    #booking {
        margin-top: 0 !important;
        padding: 0 0 80px !important;
        min-height: auto !important;
        display: block !important;
        transform: none !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .booking-header {
        margin-top: 0 !important;
        margin-bottom: 28px !important;
    }

    .booking-container {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    #booking {
        margin-top: 0 !important;
        padding: 0 0 70px !important;
        min-height: auto !important;
        display: block !important;
        transform: none !important;
    }

    .booking-header {
        margin-top: 0 !important;
        margin-bottom: 24px !important;
    }

    .booking-header h4 {
        margin-top: 0 !important;
    }

    .booking-container {
        padding: 20px !important;
        margin-top: 0 !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .booking-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-top: 0 !important;
        display: block !important;
        line-height: 1.1 !important;
        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        -webkit-text-fill-color: #fff !important;
        color: #fff !important;
        text-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    }

    /* Fix Payment Modal on Mobile */
    #payment-modal {
        width: 90% !important;
        padding: 25px !important;
        max-height: 85vh;
        overflow-y: auto;
        border-radius: 12px;
    }
}

#booking button,
#booking a[class*="btn"] {
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#booking button:hover,
#booking a[class*="btn"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}