/* Booking Page Styles */

.booking-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

/* Progress Steps */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    margin-bottom: 30px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s;
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 3px solid #DEE2E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray);
    transition: all 0.3s;
}

.progress-step.active .step-number {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.progress-step.completed .step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.progress-step.completed .step-number::after {
    content: '✓';
}

.progress-step span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
}

.progress-step.active span {
    color: var(--primary);
    font-weight: 600;
}

.progress-line {
    width: 80px;
    height: 3px;
    background: #DEE2E6;
    margin: 0 15px;
    margin-bottom: 25px;
}

/* Wizard Container */
.booking-wizard {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.wizard-step h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    border: 2px solid #DEE2E6;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab:hover {
    border-color: var(--gold);
}

.category-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Tours Selection Grid */
.tours-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tour-select-card {
    border: 3px solid #E9ECEF;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white);
}

.tour-select-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tour-select-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.tour-select-card .tour-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-select-card .tour-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tour-select-card .tour-content {
    padding: 20px;
}

.tour-select-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.tour-select-card .tour-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.tour-select-card .tour-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tour-select-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.tour-select-card .price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray);
}

.tour-select-card .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
}

.tour-select-card .select-indicator {
    width: 28px;
    height: 28px;
    border: 2px solid #DEE2E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.tour-select-card.selected .select-indicator {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Step 2: Date & Guests */
.date-guest-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.selected-tour-preview {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    padding: 25px;
    color: var(--white);
}

.selected-tour-preview img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.selected-tour-preview h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.selected-tour-preview p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.booking-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.date-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #E9ECEF;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.date-input:focus {
    outline: none;
    border-color: var(--gold);
}

.guests-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guest-type {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest-type label {
    flex: 1;
    font-weight: 500;
    margin-bottom: 0;
}

.guest-type small {
    color: var(--gray);
    font-weight: 400;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--off-white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.quantity-control input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.price-per {
    min-width: 80px;
    text-align: right;
    color: var(--gray);
}

.price-summary {
    background: var(--off-white);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #DEE2E6;
}

.price-row.total {
    border-bottom: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    padding-top: 15px;
}

/* Step 3: Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* Step 4: Summary */
.booking-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.summary-section {
    background: var(--off-white);
    border-radius: 12px;
    padding: 20px;
}

.summary-section h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 15px;
}

.summary-content p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.summary-content strong {
    color: var(--primary);
}

.total-section {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.total-section h3 {
    color: rgba(255, 255, 255, 0.7);
}

.summary-total {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.terms-check {
    text-align: center;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--gold);
    text-decoration: underline;
}

/* Success Step */
.success-content {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--accent);
    color: var(--white);
    font-size: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.booking-reference {
    background: var(--off-white);
    padding: 20px 40px;
    border-radius: 12px;
    display: inline-block;
    margin: 20px 0;
}

.booking-reference strong {
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
    margin-top: 5px;
}

.success-details {
    background: var(--off-white);
    border-radius: 12px;
    padding: 25px;
    max-width: 500px;
    margin: 20px auto;
    text-align: left;
}

.success-details p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #DEE2E6;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E9ECEF;
}

.btn-back {
    padding: 15px 30px;
    background: var(--off-white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #DEE2E6;
}

.btn-next {
    padding: 15px 40px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: auto;
}

.btn-next:hover {
    background: var(--gold-dark);
}

.btn-next:disabled {
    background: #DEE2E6;
    cursor: not-allowed;
}

.btn-primary {
    padding: 15px 30px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary {
    padding: 15px 30px;
    background: var(--off-white);
    color: var(--primary);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

/* Footer */
.booking-footer {
    background: var(--primary);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.booking-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.footer-badges span {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-page {
        padding-top: 80px;
    }

    .booking-progress {
        flex-wrap: wrap;
        gap: 10px;
    }

    .progress-line {
        display: none;
    }

    .progress-step span {
        display: none;
    }

    .booking-wizard {
        padding: 25px;
    }

    .date-guest-container {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        grid-template-columns: 1fr;
    }

    .total-section {
        grid-column: span 1;
    }

    .success-actions {
        flex-direction: column;
    }

    .booking-footer .container {
        flex-direction: column;
    }
}