/* Floating Book Now Button and Side Panel Styles */
:root {
    --km-primary: #c3922e;
    --km-secondary: #928575;
    --km-dark: #000000;
    --km-white: #ffffff;
    --km-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Floating Button - Enhanced Premium Look */
@keyframes goldShine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes sweepShine {
    0% {
        top: -100%;
    }

    20% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

.book-now-floating-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #c3922e, #e6be6a, #c3922e);
    background-size: 200% auto;
    color: #fff;
    padding: 18px 9px;
    cursor: pointer;
    z-index: 999;
    border-radius: 15px 0 0 15px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    writing-mode: vertical-lr;
    text-orientation: mixed;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Syne', sans-serif;
    animation: goldShine 4s infinite linear;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    font-size: 14px;
    overflow: hidden;
    /* Shine ko button ke andar rakhne ke liye */
}

/* Moving Shine Layer */
.book-now-floating-btn::after {
    content: "";
    position: absolute;
    top: -100%;
    right: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    transform: skewY(-20deg);
    animation: sweepShine 5s infinite ease-in-out;
}

.book-now-floating-btn:hover {
    padding-right: 20px;
    box-shadow: -8px 0 30px rgba(195, 146, 46, 0.5);
    color: #000;
}

.book-now-floating-btn i {
    font-size: 1.2rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Side Panel Overlay */
.book-now-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-now-overlay.active {
    display: block;
    opacity: 1;
}

/* Side Panel */
.book-now-panel {
    position: fixed;
    top: 0;
    right: -400px;
    left: auto !important;
    width: 380px;
    max-width: 90%;
    height: 100%;
    background: var(--km-white);
    z-index: 10001;
    /* Above overlay and button */
    transition: var(--km-transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    overflow-y: auto;
}

.book-now-panel.active {
    right: 0;
    left: auto !important;
    /* Force right positioning */
}

.book-now-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--km-primary);
    padding-bottom: 15px;
}

.book-now-panel-header h2 {
    margin: 0;
    color: var(--km-dark);
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.book-now-close {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--km-secondary);
    transition: var(--km-transition);
}

.book-now-close:hover {
    color: var(--km-dark);
    transform: rotate(90deg);
}

/* Form Styles */
.book-now-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.book-now-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.book-now-form input,
.book-now-form textarea,
.book-now-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Syne', sans-serif;
    outline: none;
    transition: var(--km-transition);
}

.book-now-form input:focus,
.book-now-form textarea:focus {
    border-color: var(--km-primary);
    box-shadow: 0 0 0 3px rgba(195, 146, 46, 0.1);
}

.book-now-form button {
    background: var(--km-primary);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--km-transition);
    margin-top: 10px;
}

.book-now-form button:hover {
    background: var(--km-dark);
    transform: translateY(-2px);
}

#bookNowFeedback {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#bookNowFeedback.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

#bookNowFeedback.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Hide Scrollbar for the Panel */
.book-now-panel {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.book-now-panel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

/* Hide Scrollbar for the form */
.book-now-form {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.book-now-form::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

@media (max-width: 480px) {
    .book-now-panel {
        width: 100%;
        padding: 30px 20px;
    }
}