/* ==========================================
   BOOKING PAGE STYLES
   ========================================== */

/* Force header to be solid background on booking page */
.header {
    background: rgba(20, 50, 100, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

/* Hamburger menu styling on booking page */
body .header .hamburger-menu {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body .header .hamburger-menu.active {
    background: linear-gradient(135deg, #1a4070 0%, #0d2847 100%) !important;
    border-color: rgba(200, 255, 0, 0.5) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body .header.scrolled .hamburger-menu.active {
    background: linear-gradient(135deg, #1a4070 0%, #0d2847 100%) !important;
    border-color: rgba(200, 255, 0, 0.5) !important;
}

/* Dropdown menu background on booking page */
.dropdown-nav {
    background: linear-gradient(135deg, #1a4070 0%, #0d2847 100%) !important;
    backdrop-filter: blur(20px) !important;
}

.dropdown-nav.active {
    background: linear-gradient(135deg, #1a4070 0%, #0d2847 100%) !important;
}

/* Remove underline from booking button */
.header .btn-header,
.header a.btn-header,
a.btn-primary.btn-header,
.btn-primary.btn-header {
    text-decoration: none !important;
    border-bottom: none !important;
    text-underline-offset: 0 !important;
}

.booking-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
    padding: 140px 0 80px;
}

.booking-header {
    text-align: center;
    margin-bottom: 60px;
}

.booking-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #1a4070;
    margin-bottom: 15px;
}

.booking-header p {
    font-size: 1.2rem;
    color: #666;
}

.booking-container {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   PROGRESS BAR
   ========================================== */

.progress-container {
    margin-bottom: 60px;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a4070 0%, #c8ff00 100%);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 10px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, #1a4070 0%, #2a5590 100%);
    border-color: #1a4070;
    color: #c8ff00;
    box-shadow: 0 10px 30px rgba(26, 64, 112, 0.3);
}

.progress-step.completed .step-circle {
    background: #c8ff00;
    border-color: #c8ff00;
    color: #1a4070;
}

.progress-step span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.progress-step.active span {
    color: #1a4070;
    font-weight: 700;
}

/* ==========================================
   MAIN CONTENT AREA
   ========================================== */

.booking-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
}

/* ==========================================
   FORM CONTAINER
   ========================================== */

.form-container {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a4070;
    margin-bottom: 10px;
}

.step-description {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 40px;
}

/* ==========================================
   PACKAGE CARDS
   ========================================== */

.package-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
}

.package-card {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    min-height: 200px;
}

.package-card:hover {
    border-color: #c8ff00;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(200, 255, 0, 0.2);
}

.package-card.selected {
    border-color: #1a4070;
    background: linear-gradient(135deg, rgba(26, 64, 112, 0.03) 0%, rgba(200, 255, 0, 0.05) 100%);
    box-shadow: 0 15px 40px rgba(26, 64, 112, 0.2);
}

.package-card.featured {
    border-color: #c8ff00;
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #c8ff00 0%, #a5d700 100%);
    color: #1a4070;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a4070 0%, #2a5590 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #c8ff00;
    flex-shrink: 0;
}

.package-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.package-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a4070;
    margin: 0;
}

.package-card p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Package Price */
.package-price {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #c8ff00;
    min-width: 150px;
    flex-shrink: 0;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a4070;
    display: block;
    margin-bottom: 5px;
}

.price-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.package-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.package-features-list li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features-list li i {
    color: #c8ff00;
    font-size: 0.9rem;
}

.package-features-list li i.fa-plus {
    color: #1a4070;
}

.package-duration {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a4070;
    font-weight: 600;
    font-size: 1rem;
}

.package-duration i {
    color: #c8ff00;
}

/* ==========================================
   DATE & TIME PICKER
   ========================================== */

.datetime-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.date-picker-container label,
.time-slots-container label {
    display: block;
    font-weight: 700;
    color: #1a4070;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.date-input {
    width: 100%;
    padding: 18px 20px;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}

.date-input:hover {
    border-color: #c8ff00;
}

.date-input:focus {
    outline: none;
    border-color: #1a4070;
    box-shadow: 0 5px 20px rgba(26, 64, 112, 0.1);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.time-slot {
    padding: 15px 10px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: #c8ff00;
    background: rgba(200, 255, 0, 0.1);
}

.time-slot.selected {
    background: linear-gradient(135deg, #1a4070 0%, #2a5590 100%);
    border-color: #1a4070;
    color: white;
    box-shadow: 0 5px 20px rgba(26, 64, 112, 0.3);
}

.time-slot:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================
   FORM FIELDS
   ========================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #1a4070;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #c8ff00;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a4070;
    box-shadow: 0 5px 20px rgba(26, 64, 112, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   CONFIRMATION SUMMARY
   ========================================== */

.confirmation-summary {
    background: linear-gradient(135deg, rgba(26, 64, 112, 0.03) 0%, rgba(200, 255, 0, 0.05) 100%);
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.summary-section {
    padding: 20px 0;
    border-bottom: 2px solid rgba(26, 64, 112, 0.1);
}

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

.summary-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a4070;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-section h3 i {
    color: #c8ff00;
}

.summary-section p {
    font-size: 1.05rem;
    color: #555;
    margin: 0;
    padding-left: 35px;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
}

.terms-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #1a4070;
}

.terms-checkbox label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
}

/* ==========================================
   SUCCESS SCREEN
   ========================================== */

.success-screen {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    font-size: 6rem;
    color: #10b981;
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-screen h2 {
    color: #1a4070;
    margin-bottom: 15px;
}

.success-screen p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================
   NAVIGATION BUTTONS
   ========================================== */

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 20px;
}

.btn-back,
.btn-next,
.btn-submit {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-back {
    background: white;
    border: 3px solid #e0e0e0;
    color: #666;
}

.btn-back:hover:not(:disabled) {
    border-color: #1a4070;
    color: #1a4070;
    transform: translateX(-5px);
}

.btn-back:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #1a4070 0%, #2a5590 100%);
    color: white;
    margin-left: auto;
    box-shadow: 0 10px 30px rgba(26, 64, 112, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(26, 64, 112, 0.4);
}

/* ==========================================
   SUMMARY SIDEBAR
   ========================================== */

.summary-sidebar {
    background: linear-gradient(135deg, #1a4070 0%, #2a5590 100%);
    border-radius: 25px;
    padding: 35px;
    color: white;
    position: sticky;
    top: 120px;
    height: fit-content;
    box-shadow: 0 20px 60px rgba(26, 64, 112, 0.3);
}

.summary-sidebar h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #c8ff00;
}

.sidebar-item {
    margin-bottom: 25px;
}

.sidebar-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sidebar-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.sidebar-divider {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.sidebar-help {
    background: rgba(200, 255, 0, 0.15);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(200, 255, 0, 0.3);
}

.sidebar-help i {
    color: #c8ff00;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sidebar-help p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.sidebar-help strong {
    color: #c8ff00;
    display: block;
    margin-top: 8px;
    font-size: 1.05rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1200px) {
    .booking-content {
        grid-template-columns: 1fr;
    }

    .summary-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .datetime-grid {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .package-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        min-height: auto;
    }
    
    .package-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .package-price {
        min-width: auto;
        width: 100%;
    }
    
    .booking-wrapper {
        padding: 100px 0 40px;
    }

    .booking-container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .booking-header h1 {
        font-size: 2rem;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .progress-step {
        flex: 0 0 calc(50% - 10px);
    }

    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .progress-step span {
        font-size: 0.8rem;
    }

    .form-step h2 {
        font-size: 1.5rem;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn-next,
    .btn-submit {
        margin-left: 0;
    }

    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .booking-header h1 {
        font-size: 1.75rem;
    }

    .booking-header p {
        font-size: 1rem;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-sidebar {
        padding: 25px;
    }
}

/* ==========================================
   PRICE SECTION IN CONFIRMATION
   ========================================== */

.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #c8ff00;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.price-display {
    text-align: center;
}

.final-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a4070;
    display: block;
    margin-bottom: 5px;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Auth Required Modal */
.auth-required-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-required-modal.show {
    opacity: 1;
    visibility: visible;
}

.auth-required-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.auth-required-modal.show .auth-required-modal-content {
    transform: scale(1);
}

.auth-required-modal-header {
    background: linear-gradient(135deg, #1a4070, #27ae60);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.auth-required-modal-header h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 600;
}

.auth-required-modal-header p {
    margin: 0 0 16px 0;
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.5;
}

.email-notice {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-notice i {
    font-size: 16px;
    opacity: 0.8;
}

.email-notice small {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.auth-required-modal-body {
    padding: 30px;
}

.booking-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.booking-summary h4 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.summary-item.total {
    font-weight: 600;
    font-size: 16px;
    color: #27ae60;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #27ae60;
}

.summary-item .label {
    color: #6c757d;
    font-weight: 500;
}

.summary-item .value {
    color: #2c3e50;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.modal-actions .btn-primary:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(39, 174, 96, 0.3);
}

.modal-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.modal-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(108, 117, 125, 0.3);
}

@media (max-width: 768px) {
    .auth-required-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .auth-required-modal-header {
        padding: 20px;
    }
    
    .auth-required-modal-body {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn-primary,
    .modal-actions .btn-secondary {
        flex: none;
        width: 100%;
    }
}

