/* ========================================
   BOOKING PAGE - VISUAL REDESIGN
   Premium & Immersive Experience
   ======================================== */

.page-booking {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-16) var(--space-4);
}

/* --- RECAP HEADER --- */
.booking-recap-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.95));
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.booking-recap-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.recap-title {
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.recap-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 1.2rem;
    color: var(--color-gray-light);
    flex-wrap: wrap;
}

.recap-item strong {
    color: var(--color-white);
    font-weight: 600;
}

.recap-price {
    font-size: 2rem;
    color: var(--color-white);
    font-family: var(--font-accent);
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
}

/* --- ACTIVITY SELECTION (The Core) --- */
.section-title {
    font-family: var(--font-accent);
    color: var(--color-white);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.activity-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
}

.activity-card.selected {
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
    background: rgba(40, 40, 40, 0.9);
}

.card-image-container {
    height: 200px;
    background: #222;
    position: relative;
    overflow: hidden;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
    background-size: cover;
    background-position: center;
}

.activity-card:hover .card-image-placeholder {
    opacity: 1;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-select-btn {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.activity-card.selected .card-select-btn {
    background: var(--color-gold);
    color: black;
    content: "Sélectionné";
}

.activity-card.selected .card-select-btn::after {
    content: " ✓";
}

/* Checker overlay when selected */
.selection-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 10;
}

.activity-card.selected .selection-overlay {
    opacity: 1;
    transform: scale(1);
}

/* --- IMMERSIVE GALLERY --- */
.immersive-gallery {
    margin-bottom: 8rem;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    /* Flexible rows */
    gap: 1rem;
    padding-bottom: 4rem;
    /* Specific bottom buffer */
}

/* ... existing gallery styles ... */

/* --- FORM SECTION --- */
.booking-form-section {
    background: rgba(20, 20, 20, 0.95);
    border-top: 1px solid var(--color-gold);
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 4rem auto 0;
    /* Added top margin */
    position: relative;
    z-index: 10;
    /* Ensure on top */
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
    /* Shadow to separate visually */
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-light);
    font-family: var(--font-accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.gallery-item span {
    z-index: 2;
    position: relative;
}

/* Optional: Add a gradient overlay if you want strictly CSS backgrounds */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), transparent);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    font-size: 2rem;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* --- FORM SECTION --- */
/* --- FORM SECTION --- */
.booking-form-section {
    background: rgba(20, 20, 20, 0.95);
    border-top: 1px solid var(--color-gold);
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 4rem auto 0;
    /* Added top margin */
    position: relative;
    z-index: 10;
    /* Ensure on top */
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
    /* Shadow to separate visually */
}

.form-title {
    font-family: var(--font-accent);
    color: var(--color-white);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .recap-details {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 2;
    }
}

/* Inputs from previous setup but simplified */
.form-input,
.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
}

.form-input:focus {
    border-color: var(--color-gold);
    outline: none;
}

.btn-book {
    width: 100%;
    padding: 1.2rem;
    background: var(--color-gold);
    color: black;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    background: white;
}

/* Toast & Modal styles (kept from previous iter) */
.booking-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #222;
    border: 1px solid var(--color-gold);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 2000;
    transition: 0.4s;
}

.booking-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Hide redundant elements if in dynamic mode */
#step-indicator {
    display: none;
}

/* ========================================
   SUCCESS MODAL Overlay
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: linear-gradient(145deg, #1a1a1a, #000000);
    border: 1px solid var(--color-gold);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.8) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.show .modal-card {
    transform: scale(1) translateY(0);
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    animation: pulseGold 2s infinite;
}

.modal-title {
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--color-gray-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-modal {
    background: var(--color-gold);
    color: var(--color-black);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-modal:hover {
    transform: scale(1.05);
    background: #fff;
}