/* Booking Page Specific Styles */

.booking-hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.booking-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booking-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.promo-banner {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

.booking-section {
    padding: 4rem 0;
    background: var(--light-color);
    min-height: calc(100vh - 300px);
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* Step Indicator */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--light-color);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--primary-color);
    color: var(--white);
}

.step-text {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s;
}

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

.form-step h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.first-time-toggle {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.toggle-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.toggle-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Service Options */
.service-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-option {
    cursor: pointer;
}

.service-option input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 2px solid var(--light-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.service-option:hover .option-content {
    border-color: var(--secondary-color);
    background: var(--light-color);
}

.service-option input[type="radio"]:checked ~ .option-content {
    border-color: var(--primary-color);
    background: var(--light-color);
    box-shadow: var(--shadow);
}

.option-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.option-details {
    flex: 1;
}

.option-details h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.option-details p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.regular-price {
    background: var(--gray);
}

.promo-price {
    background: var(--accent-color);
    color: var(--dark-color);
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-color);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-color);
    }
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Payment Summary */
.payment-summary {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.payment-summary h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--gray);
}

.summary-item.total {
    border-top: 2px solid var(--white);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.deposit-note {
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Stripe Card Element */
.payment-form {
    margin-bottom: 2rem;
}

.payment-form h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

#card-element {
    padding: 1rem;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    background: var(--white);
}

#card-errors {
    color: #fa755a;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Step Buttons */
.step-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background: var(--gray);
    color: var(--white);
}

.next-step,
.form-step .btn-primary {
    margin-left: auto;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

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

.hidden {
    display: none !important;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s;
}

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

.success-message h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.success-message .btn {
    margin-top: 1.5rem;
}

/* Active nav link */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-container {
        padding: 2rem 1.5rem;
    }

    .booking-hero h2 {
        font-size: 2rem;
    }

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

    .steps::before {
        display: none;
    }

    .step-text {
        font-size: 0.8rem;
    }

    .option-content {
        flex-direction: column;
        text-align: center;
    }

    .step-buttons {
        flex-direction: column;
    }

    .next-step,
    .form-step .btn-primary {
        margin-left: 0;
    }
}
