/* Sticky Reservation Modal & Button Styles */

/* Sticky Button (Mobile First) */
.sticky-reserve-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9990;
    width: 90%;
    max-width: 400px;
    padding: 18px 30px;
    background: var(--color-gold);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: bounceIn 1s 2s both;
}

.sticky-reserve-btn i {
    font-size: 1.2rem;
}

.sticky-reserve-btn:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }

    60% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Reservation Modal */
.reservation-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    /* Higher than header */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.reservation-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}

.modal-close:hover {
    background: var(--color-terra);
    transform: rotate(90deg);
}

/* Mobile specific modal adjustments */
@media (max-width: 768px) {
    .modal-content {
        height: auto;
        min-height: auto;
        border-radius: 20px;
    }

    .sticky-reserve-btn {
        bottom: 30px;
    }
}