/* =============================
   HOTEL DEVANG – BOOKING PAGE
   Redesigned UI | Brand-matched
   ============================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
    --crimson: #880000;
    --crimson-dark: #5c0000;
    --crimson-light: #b22222;
    --gold: #caa035;
    --gold-light: #ffd700;
    --gold-pale: rgba(202, 160, 53, 0.12);
    --ivory: #fdf8f1;
    --white: #ffffff;
    --text-dark: #2a1a1a;
    --text-mid: #5c4040;
    --text-muted: #8a7070;
    --border: #e8ddd5;
    --shadow-sm: 0 2px 12px rgba(136, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(136, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(136, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ── Reset ─────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--ivory);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ── Preloader ──────────────────────────────────────────── */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader img {
    width: 200px;
    height: auto;
}

/* ── Scroll Progress Bar ────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--crimson), var(--gold));
    z-index: 10000;
    transition: width 0.2s ease-out;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR (unchanged – kept identical to index)
════════════════════════════════════════════════════════ */
header {
    background: #880000;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: top 0.4s ease-in-out;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 0;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow: visible;
    white-space: nowrap;
    justify-content: flex-start;
    margin-left: 0.5rem;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    background: none !important;
}

.nav-links a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.nav-links a::before,
.nav-links a::after {
    content: none !important;
    background: none !important;
}

.nav-links a.active {
    color: #ffd700 !important;
    border: 2px solid #caa035;
    background: transparent !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(202, 160, 53, 0.6);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    animation: goldPulse 3s infinite ease-in-out;
}

.nav-links a.active:hover {
    background: rgba(202, 160, 53, 0.1) !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(202, 160, 53, 0.8);
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(202, 160, 53, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(202, 160, 53, 0.9);
    }
}

.menu-toggle {
    width: 34px;
    height: 26px;
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    display: none;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; width: 70%; }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

.mobile-nav-header,
.close-menu {
    display: none;
}

.brand span {
    display: none;
}


/* ═══════════════════════════════════════════════════════
   PAGE HERO BANNER
════════════════════════════════════════════════════════ */
.booking-hero {
    background: linear-gradient(160deg, var(--crimson-dark) 0%, var(--crimson) 55%, #a00000 100%);
    padding: 140px 2rem 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(202, 160, 53, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(255, 215, 0, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

/* Decorative arch motif */
.booking-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--ivory);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(202, 160, 53, 0.2);
    border: 1px solid rgba(202, 160, 53, 0.5);
    color: var(--gold-light);
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.booking-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.booking-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
    letter-spacing: 0.3px;
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* ── Trust badges ── */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 400;
}

.trust-badge i {
    color: var(--gold-light);
    font-size: 0.95rem;
}


/* ═══════════════════════════════════════════════════════
   MAIN LAYOUT
════════════════════════════════════════════════════════ */
.booking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    transform: translateY(-30px);
}

/* ── WhatsApp Info Strip ── */
.whatsapp-info {
    background: linear-gradient(135deg, #1ebe5d, #128C7E);
    color: white;
    padding: 1.1rem 1.8rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 24px rgba(18, 140, 126, 0.35);
}

.whatsapp-info i {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.whatsapp-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.whatsapp-info p {
    font-size: 0.85rem;
    opacity: 0.92;
    margin: 0;
}

/* ── Form Note ── */
.form-note {
    background: var(--gold-pale);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1rem 1.3rem;
    margin-bottom: 2rem;
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.form-note strong {
    color: var(--crimson);
}

/* ── Error Message ── */
.error-message {
    display: none;
    background: #fff5f5;
    border: 1.5px solid #e53e3e;
    color: #c53030;
    padding: 1rem 1.3rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ── Booking Form Card ── */
.booking-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Form Sections ── */
.form-section {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section:first-child {
    padding-top: 2.5rem;
}

/* Section header accent line */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--crimson);
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}

.section-title i {
    font-size: 1rem;
    background: var(--gold-pale);
    color: var(--gold);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Form Controls ── */
.form-group {
    margin-bottom: 1.3rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-mid);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.97rem;
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    background: #fdfaf7;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
    appearance: auto;
}

.form-control:hover {
    border-color: #c9b49a;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(202, 160, 53, 0.15);
}

.form-control::placeholder {
    color: #bbb0a8;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* ── Room Cards ── */
.room-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
    margin-bottom: 0;
}

.room-option {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, background 0.2s ease;
    background: #fdfaf7;
    position: relative;
    user-select: none;
}

.room-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Checkmark badge (top-right) */
.room-option::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--crimson);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.room-option:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(202, 160, 53, 0.18);
    transform: translateY(-2px);
    background: var(--white);
}

.room-option.selected {
    border-color: var(--crimson);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.04), rgba(202, 160, 53, 0.06));
    box-shadow: 0 4px 18px rgba(139, 0, 0, 0.12);
}

.room-option.selected::after {
    opacity: 1;
    transform: scale(1);
}

.room-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--crimson);
    margin-bottom: 0.3rem;
    padding-right: 28px;
    /* don't overlap checkmark */
}

.room-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.room-features {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.room-features::before {
    display: none;
}

/* ── Extra Mattress ── */
.extra-mattress-section {
    background: var(--gold-pale);
    border: 1.5px solid rgba(202, 160, 53, 0.35);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Custom styled checkbox */
.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--gold);
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    margin-top: 2px;
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--crimson);
    border-color: var(--crimson);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-mid);
    cursor: pointer;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}

/* ── Submit Section ── */
.submit-section {
    padding: 2rem 2.5rem 2.5rem;
    background: linear-gradient(to bottom, var(--white), #fdf8f3);
}

.g-recaptcha {
    margin-bottom: 1.5rem;
    transform-origin: left;
}

.whatsapp-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:active {
    transform: translateY(-1px);
}

.whatsapp-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.whatsapp-icon i {
    font-size: 1.4rem;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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


/* ═══════════════════════════════════════════════════════
   CHAT BOT
════════════════════════════════════════════════════════ */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    z-index: 9998;
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 520px;
    border: 1.5px solid var(--border);
}

.chat-container.show {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
    color: white;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-icons {
    display: flex;
    gap: 14px;
}

.contact-icons a {
    color: white;
    font-size: 18px;
    transition: opacity 0.2s;
}

.contact-icons a:hover {
    opacity: 0.8;
}

.chat-header button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.chat-header button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 280px;
    background: #f9f5f0;
}

.bot-message {
    background: white;
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 4px 16px 16px 16px;
    font-size: 0.88rem;
    color: var(--text-dark);
    max-width: 85%;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

.user-message {
    background: linear-gradient(135deg, var(--crimson), #a00000);
    color: white;
    padding: 10px 14px;
    border-radius: 16px 4px 16px 16px;
    font-size: 0.88rem;
    max-width: 85%;
    align-self: flex-end;
    line-height: 1.5;
}

.chat-input {
    display: flex;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid var(--border);
    background: white;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.88rem;
    font-family: 'Jost', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input input:focus {
    border-color: var(--gold);
}

.chat-input button {
    padding: 10px 18px;
    background: var(--crimson);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.chat-input button:hover {
    background: var(--crimson-dark);
    transform: scale(1.04);
}

.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(136, 0, 0, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(136, 0, 0, 0.45);
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    left: 30px;
    top: -80px;
    width: 50px;
    height: 50px;
    background-color: #b30000;
    color: #ffd700;
    border: 1px solid #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    z-index: 999;
    transition: top 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top.show {
    top: calc(100vh - 80px);
}

.back-to-top:hover {
    background-color: transparent;
    color: #ffd700;
    transform: translateY(-5px);
}


/* ═══════════════════════════════════════════════════════
   SUCCESS OVERLAY
════════════════════════════════════════════════════════ */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.success-box {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 420px;
    margin: 0 1.5rem;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-box h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--crimson);
    margin-bottom: 0.8rem;
}

.success-box p {
    color: var(--text-mid);
    font-size: 0.95rem;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */

/* ── 1024px ── */
@media (max-width: 1024px) {
    .mobile-nav-header {
        display: flex;
    }

    .brand {
        display: flex;
    }

    nav {
        padding: 0 1rem;
        justify-content: space-between;
    }

    .logo {
        margin-left: 0;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .logo img {
        height: 35px;
        margin-right: 8px;
    }

    .nav-links {
        gap: 0.1rem;
        overflow-x: auto !important;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.5rem;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

@media (max-width: 1024px) {
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .brand img {
        height: 48px;
        border-radius: 50%;
    }
    .brand span {
        display: inline-block;
        font-size: 1.4rem;
        font-weight: 600;
        color: #fff;
        letter-spacing: 0.5px;
    }
    nav {
        padding: 0 1rem;
        justify-content: space-between;
    }
    .logo {
        margin-left: 0;
        font-size: 1.4rem;
        flex-shrink: 0;
    }
    .logo img {
        height: 35px;
        margin-right: 8px;
    }
    .nav-links {
        gap: 0.1rem;
        overflow-x: auto !important;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.5rem;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1101;
    }
    body.menu-open { overflow: hidden; }
    .nav-links {
        position: fixed;
        top: 0;
        left: -120%;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(160deg, #8b0000, #5c0000);
        flex-direction: column;
        padding: 2.5rem 2rem;
        transition: left 0.45s cubic-bezier(0.77, 0, 0.18, 1);
        z-index: 1050;
        gap: 0;
        overflow-y: auto;
    }
    .nav-links.active { left: 0; }
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 3rem;
    }
    .mobile-nav-header img {
        height: 50px;
        border-radius: 50%;
    }
    .close-menu {
        display: none;
    }
    .nav-links li {
        list-style: none;
        margin-bottom: 1.4rem;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideFade 0.5s ease forwards;
        margin-top: -5px;
    }
    .nav-links.active li:nth-child(2) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(7) { animation-delay: 0.35s; }
    .nav-links.active li:nth-child(8) { animation-delay: 0.4s; }
    .nav-links.active li:nth-child(9) { animation-delay: 0.45s; }
    
    .nav-links a {
        font-size: 1.25rem;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.5px;
        display: inline-block;
        position: relative;
        background: none !important;
    }
    .nav-links a::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 0%;
        height: 2px;
        background: gold;
        transition: width 0.3s ease;
    }
    .nav-links a:hover::after { width: 100%; }
    
    @keyframes slideFade {
        to { opacity: 1; transform: translateX(0); }
    }
}

    /* Page adjustments */
    .booking-title {
        font-size: 2.4rem;
    }

    .booking-subtitle {
        font-size: 0.95rem;
    }

    .trust-badges {
        gap: 1rem;
    }

    .booking-hero {
        padding: 120px 1.5rem 55px;
    }

    .booking-container {
        padding: 0 1rem 3rem;
        transform: translateY(-20px);
    }

    .form-section {
        padding: 1.5rem 1.3rem;
    }

    .submit-section {
        padding: 1.5rem 1.3rem 2rem;
    }

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

    .room-type-selection {
        grid-template-columns: 1fr 1fr;
    }

    .whatsapp-info {
        flex-direction: column;
        text-align: center;
    }

    /* Chat */
    .chat-container {
        width: 94%;
        right: 3%;
        bottom: 85px;
        max-height: 80vh;
        border-radius: 18px;
    }

    .chat-header {
        padding: 14px;
    }

    .contact-icons a {
        font-size: 16px;
    }

    .chat-messages {
        height: 55vh;
        font-size: 14px;
    }

    .chat-input input {
        font-size: 14px;
    }

    .chat-input button {
        padding: 10px 18px;
    }

    .chat-toggle {
        width: 55px;
        height: 55px;
        font-size: 20px;
        bottom: 18px;
        right: 18px;
    }
}

/* ── 600px ── */
@media (max-width: 600px) {
    .booking-title {
        font-size: 2rem;
    }

    .room-type-selection {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    #preloader img {
        width: 100px;
    }

}

/* ── 480px ── */
@media (max-width: 480px) {
    .booking-hero {
        padding: 105px 1rem 50px;
    }

    .booking-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .chat-container {
        width: 96%;
        right: 2%;
        bottom: 75px;
        max-height: 85vh;
        border-radius: 16px;
    }

    .chat-messages {
        height: 58vh;
        font-size: 13px;
    }

    .bot-message,
    .user-message {
        font-size: 13px;
        max-width: 92%;
    }

    .chat-input {
        padding: 10px;
    }

    .chat-input input {
        padding: 9px 12px;
        font-size: 13px;
    }

    .chat-input button {
        padding: 9px 14px;
        font-size: 13px;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }

    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left;
    }
}