/* =============================================
   CAT PARADISE - BOOKING PAGE STYLES
   Vibrant Yellow & Teal Design
   ============================================= */

/* Booking page nav fixes */
.nav-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), var(--golden));
    color: var(--dark);
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
}

.nav-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* Active nav item (رزرو) */
.nav-menu > li > a.active {
    color: var(--ocean-blue);
    font-weight: 700;
}

.nav-menu > li > a.active::after {
    width: 100%;
    background: var(--primary-yellow);
}

   /* Logo fix for booking page */
.logo img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-yellow);
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.navbar .container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px !important;
    gap: 20px;
}

.nav-menu {
    display: flex !important;
    list-style: none;
    gap: 22px;
    align-items: center;
    flex-direction: row !important;
}

.nav-menu > li > a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    padding: 8px 0;
}

/* ===== BOOKING HERO ===== */
.booking-hero {
    background: linear-gradient(135deg, #0D1B2A 0%, #1B2838 30%, #1A3A4A 60%, #0D2B35 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.booking-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.booking-hero p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ===== PROGRESS STEPS ===== */
.booking-progress {
    background: white;
    padding: 40px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.05);
    border-bottom: 3px solid #FFF9C4;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ECEFF1;
    color: #78909C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.step.active .step-number {
    background: linear-gradient(135deg, #FFD700, #FFB300);
    color: #1A1A2E;
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 5px 35px rgba(255, 215, 0, 0.8); }
}

.step.completed .step-number {
    background: linear-gradient(135deg, #26A69A, #00BCD4);
    color: white;
}

.step.completed .step-number::after {
    content: '✓';
    font-size: 24px;
}

.step-label {
    font-size: 14px;
    color: #78909C;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step.active .step-label {
    color: #FFB300;
    font-weight: 700;
}

.step-line {
    width: 100px;
    height: 3px;
    background: #ECEFF1;
    margin: 0 15px;
    margin-bottom: 25px;
    border-radius: 3px;
    transition: background 0.4s;
}

.step.completed + .step-line {
    background: linear-gradient(90deg, #26A69A, #00BCD4);
}

/* ===== BOOKING SECTION ===== */
.booking-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #FFF8E1 0%, #FFFFFF 50%, #FFF9C4 100%);
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* ===== FORM STEPS ===== */
.form-step {
    display: none;
    background: white;
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.08);
    border: 2px solid #ECEFF1;
}

.form-step.active {
    display: block;
    animation: fadeSlideIn 0.5s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step h2 {
    font-size: 26px;
    color: #1A1A2E;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 3px solid #FFF9C4;
    font-weight: 800;
}

.form-step h2 i {
    color: #FFD700;
    margin-right: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 188, 212, 0.1));
    padding: 10px;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1A1A2E;
    font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ECEFF1;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
    background: #FFF8E1;
    color: #1A1A2E;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0BEC5;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFB300;
    font-size: 18px;
    transition: color 0.3s;
}

.input-icon input {
    padding-left: 50px !important;
}

.input-icon input:focus + i,
.input-icon input:focus ~ i {
    color: #FFD700;
}

/* ===== SUITE SELECTION ===== */
.suite-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.suite-option {
    border: 2px solid #ECEFF1;
    border-radius: 20px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    background: white;
    overflow: hidden;
}

.suite-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03), rgba(0, 188, 212, 0.03));
    opacity: 0;
    transition: opacity 0.4s;
}

.suite-option:hover {
    border-color: #FFD700;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15);
}

.suite-option:hover::before {
    opacity: 1;
}

.suite-option.selected {
    border-color: #FFD700;
    background: linear-gradient(180deg, #FFF9C4 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.suite-option.featured {
    border-color: #00BCD4;
    background: #F7FFFE;
}

.popular-tag {
    position: absolute;
    top: -14px;
    right: 20px;
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
    animation: bounceTag 2s ease-in-out infinite;
}

@keyframes bounceTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.suite-header {
    text-align: center;
    margin-bottom: 20px;
}

.suite-header h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1A1A2E;
    font-weight: 700;
}

.suite-price {
    font-size: 28px;
    font-weight: 900;
    color: #FFB300;
}

.suite-option ul {
    list-style: none;
}

.suite-option ul li {
    padding: 8px 0;
    color: #78909C;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suite-option ul li i {
    color: #26A69A;
    font-size: 14px;
}

/* ===== RADIO BUTTONS ===== */
.radio-group {
    display: flex;
    gap: 30px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: #1A1A2E;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ECEFF1;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #FFD700;
    background: #FFD700;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* ===== ADD-ON SERVICES ===== */
.addon-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.addon-card {
    border: 2px solid #ECEFF1;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background: white;
    overflow: hidden;
}

.addon-card:hover {
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.addon-card input[type="checkbox"] {
    display: none;
}

.addon-card label {
    display: flex;
    gap: 18px;
    padding: 22px;
    cursor: pointer;
    transition: background 0.3s;
}

.addon-card input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFFFFF 100%);
    border-left: 4px solid #FFD700;
}

.addon-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #00BCD4;
    flex-shrink: 0;
    transition: all 0.3s;
}

.addon-card input[type="checkbox"]:checked + label .addon-icon {
    background: linear-gradient(135deg, #FFD700, #FFB300);
    color: #1A1A2E;
}

.addon-info {
    flex: 1;
}

.addon-info h3 {
    font-size: 17px;
    margin-bottom: 5px;
    color: #1A1A2E;
    font-weight: 700;
}

.addon-info p {
    font-size: 14px;
    color: #78909C;
    line-height: 1.5;
}

.addon-price {
    font-weight: 800;
    color: #FFB300;
    font-size: 18px;
    margin-top: 5px;
    display: inline-block;
}

/* ===== FORM BUTTONS ===== */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #FFF9C4;
}

.btn-next,
.btn-prev,
.btn-submit {
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-next {
    background: linear-gradient(135deg, #FFD700, #FFB300);
    color: #1A1A2E;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.btn-next:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.btn-prev {
    background: #F7F9FC;
    color: #1A1A2E;
    border: 2px solid #ECEFF1;
}

.btn-prev:hover {
    background: #ECEFF1;
    transform: translateX(-5px);
}

.btn-submit {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    color: white;
    width: 100%;
    padding: 18px;
    font-size: 18px;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.5);
}

/* ===== BOOKING SUMMARY ===== */
.booking-summary {
    background: linear-gradient(135deg, #FFF8E1, #FFF9C4);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 35px;
    border: 2px solid #FFE082;
}

.booking-summary h3 {
    margin-bottom: 20px;
    color: #1A1A2E;
    font-weight: 800;
    font-size: 20px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 15px;
}

.summary-row.total {
    border-top: 3px solid #FFD700;
    border-bottom: none;
    font-weight: 900;
    font-size: 22px;
    color: #FFB300;
    padding-top: 18px;
    margin-top: 10px;
}

/* ===== PAYMENT SECTION ===== */
.payment-section {
    background: linear-gradient(135deg, #F7F9FC, #ECEFF1);
    padding: 30px;
    border-radius: 20px;
    margin: 25px 0;
    border: 2px solid #ECEFF1;
}

.payment-section h3 {
    margin-bottom: 25px;
    color: #1A1A2E;
    font-weight: 800;
    font-size: 20px;
}

/* ===== SIDEBAR ===== */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    border: 2px solid #ECEFF1;
    transition: all 0.3s;
}

.sidebar-card:hover {
    border-color: #FFD700;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.1);
}

.sidebar-card h3 {
    margin-bottom: 20px;
    color: #1A1A2E;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFF9C4;
    font-weight: 800;
    font-size: 18px;
}

.empty-state {
    color: #B0BEC5;
    text-align: center;
    padding: 30px 0;
    font-style: italic;
    font-size: 14px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 12px 0;
    color: #546E7A;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    border-bottom: 1px solid #F5F5F5;
    transition: all 0.3s;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:hover {
    color: #1A1A2E;
    padding-left: 5px;
}

.benefits-list li i {
    color: #00BCD4;
    font-size: 16px;
    background: rgba(0, 188, 212, 0.1);
    padding: 8px;
    border-radius: 8px;
}

/* Sidebar Summary Rows */
.sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #F5F5F5;
    font-size: 14px;
    color: #546E7A;
}

.sidebar-row.total {
    border-top: 3px solid #FFD700;
    border-bottom: none;
    font-weight: 800;
    font-size: 20px;
    color: #FFB300;
    margin-top: 12px;
    padding-top: 18px;
}

/* ===== CHECKBOX STYLING ===== */
.form-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #FFD700;
}

.form-group label a {
    color: #00BCD4;
    text-decoration: underline;
    font-weight: 600;
}

/* ===== ERROR STATES ===== */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #EF5350;
    background: #FFF5F5;
}

.error-message {
    color: #EF5350;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

/* ===== CONFIRMATION MODAL ===== */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 30px;
    padding: 45px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border: 3px solid #FFD700;
}

.modal-header i {
    font-size: 72px;
    color: #26A69A;
    margin-bottom: 20px;
    animation: modalIconBounce 0.6s ease;
}

@keyframes modalIconBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1A1A2E;
    margin-bottom: 10px;
}

.booking-reference {
    background: linear-gradient(135deg, #FFF8E1, #FFF9C4);
    padding: 18px;
    border-radius: 15px;
    margin: 25px 0;
    border: 2px dashed #FFD700;
}

.booking-reference span {
    display: block;
    font-size: 14px;
    color: #78909C;
    margin-bottom: 5px;
}

.booking-reference strong {
    font-size: 28px;
    color: #FFB300;
    letter-spacing: 2px;
}

.email-notice {
    background: #E0F7FA;
    padding: 18px;
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid #B2EBF2;
}

.email-notice i {
    font-size: 28px;
    color: #00BCD4;
    margin-bottom: 8px;
}

.email-notice strong {
    color: #0097A7;
}

.summary-mini {
    text-align: left;
    background: #F7F9FC;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.summary-mini p {
    margin: 10px 0;
    font-size: 15px;
    color: #546E7A;
}

.summary-mini p strong {
    color: #1A1A2E;
}

.modal-footer {
    margin-top: 25px;
}

.modal-footer .btn-primary {
    padding: 14px 40px;
    font-size: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }
    
    .suite-selection {
        grid-template-columns: 1fr;
    }
    
    .addon-services {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .step-line {
        width: 50px;
    }
    
    .booking-sidebar {
        position: static;
    }
    
    .booking-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .form-step {
        padding: 25px 20px;
    }
    
    .form-step h2 {
        font-size: 22px;
    }
    
    .suite-option {
        padding: 20px;
    }
    
    .addon-card label {
        padding: 15px;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .booking-reference strong {
        font-size: 22px;
    }
}