/* ==========================================================================
   LAZZY HOUSE PMS & BOOKING - MODERN LUXURY THEME
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #002B5B;
    --primary-light: #0d4b8e;
    --accent: #00c3ff;
    --accent-hover: #0099cc;
    --coral: #f75229;
    --coral-hover: #e03e15;
    --gold: #e6a600;
    --gold-light: #fff8e1;
    --dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px -2px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 30px -4px rgba(0,43,91,0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section[id], .hero-section {
    scroll-margin-top: 75px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.site-logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
    text-decoration: none !important;
    position: relative;
    padding: 6px 0;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--coral);
}

.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--coral);
    border-radius: 2px;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-cta {
    background: linear-gradient(135deg, var(--coral), #ff7347);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(247, 82, 41, 0.3);
    transition: all 0.25s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}

.btn-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(247, 82, 41, 0.4);
    color: #fff !important;
}

.btn-guest-portal {
    background: #f0f7ff;
    color: var(--accent-hover) !important;
    border: 1px solid #cce9ff;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.2s;
    text-decoration: none !important;
}

.btn-guest-portal:hover {
    background: #e1f1ff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #001e3d 0%, #002B5B 60%, #004c8f 100%);
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(0, 195, 255, 0.18), transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(247, 82, 41, 0.15), transparent 45%);
    pointer-events: none;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(0, 195, 255, 0.12);
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 195, 255, 0.3);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero-desc {
    font-size: 16.5px;
    color: #cbd5e1;
    margin-bottom: 25px;
    max-width: 540px;
}

.hero-booking-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 10;
}

.hero-booking-card .form-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-booking-card .form-control,
.hero-booking-card .form-select {
    height: 48px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #cbd5e1;
    font-weight: 500;
    font-size: 14px;
}

.btn-search-hero {
    height: 48px;
    background: linear-gradient(135deg, var(--coral), #ff6238);
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(247, 82, 41, 0.35);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-search-hero:hover {
    background: linear-gradient(135deg, #e03e15, var(--coral));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(247, 82, 41, 0.45);
    color: white;
}

/* ==========================================================================
   BRANCHES SECTION (3 CHI NHÁNH)
   ========================================================================== */
.section-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--coral);
    margin-bottom: 8px;
}

.section-main-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
}

.branch-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.branch-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #1e293b;
}

.branch-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.branch-card:hover .branch-img-wrap img {
    transform: scale(1.06);
}

.branch-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 43, 91, 0.88);
    backdrop-filter: blur(6px);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.branch-photos-count {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.branch-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.branch-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.branch-address {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.branch-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.branch-feature-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 4px 9px;
    border-radius: 6px;
    font-weight: 500;
}

.branch-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.branch-price-from {
    font-size: 13px;
    color: var(--text-muted);
}

.branch-price-from strong {
    font-size: 17px;
    color: var(--coral);
    font-weight: 700;
}

/* ==========================================================================
   ROOM CARDS (WEB BOOKING & FEATURED)
   ========================================================================== */
.room-card-modern {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.room-thumb-box {
    position: relative;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
}

.room-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card-modern:hover .room-thumb-box img {
    transform: scale(1.05);
}

.room-badge-mode {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.room-badge-status {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.room-photo-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.room-photo-counter:hover {
    background: rgba(0, 43, 91, 0.9);
}

.room-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
}

.room-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.room-branch-tag {
    font-size: 12px;
    color: var(--accent-hover);
    font-weight: 600;
}

.room-type-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.room-amenities-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.amenity-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 11.5px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.room-price-box {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.room-price-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--coral);
}

.room-price-unit {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-book-action {
    background: linear-gradient(135deg, var(--coral), #ff653b);
    color: white !important;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: var(--radius-sm);
    padding: 11px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(247, 82, 41, 0.25);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none !important;
}

.btn-book-action:hover {
    background: linear-gradient(135deg, #e03e15, var(--coral));
    box-shadow: 0 5px 15px rgba(247, 82, 41, 0.35);
    transform: translateY(-1px);
}

.btn-view-gallery {
    background: #f1f5f9;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.btn-view-gallery:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   PHOTO GALLERY LIGHTBOX MODAL
   ========================================================================== */
.gallery-modal-dialog {
    max-width: 900px;
}

.gallery-modal-content {
    background: #0f172a;
    color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #334155;
}

.gallery-main-view {
    position: relative;
    height: 480px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.gallery-nav-btn:hover {
    background: rgba(0, 195, 255, 0.8);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-thumbs-row {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    background: #1e293b;
}

.gallery-thumb-item {
    width: 70px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.gallery-thumb-item.active,
.gallery-thumb-item:hover {
    opacity: 1;
    border-color: var(--accent);
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   FEATURES / WHY CHOOSE US
   ========================================================================== */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    height: 100%;
}

.feature-box:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.feature-icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #001933;
    color: #94a3b8;
    padding: 60px 0 30px;
    font-size: 14px;
    border-top: 1px solid #1e293b;
}

.site-footer h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-branch-item {
    margin-bottom: 18px;
}

.footer-branch-item strong {
    color: #f1f5f9;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.footer-branch-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.site-footer a {
    color: #94a3b8;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

/* ==========================================================================
   RESPONSIVE & GUEST PORTAL / COMBO ENHANCEMENTS
   ========================================================================== */
@media (max-width: 991px) {
    .site-nav { display: none; }
    .hero-title { font-size: 34px; }
    .gallery-main-view { height: 340px; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 28px; }
    .hero-section { padding: 50px 0 70px; }
    .hero-booking-card { padding: 18px; }
    .section-main-title { font-size: 26px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ==========================================================================
   GUEST PORTAL (LOGIN & DASHBOARD) MODERN STYLING
   ========================================================================== */
.guest-auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #001e3d 0%, #002B5B 50%, #0b1f3a 100%);
    position: relative;
    padding: 60px 15px;
}

.guest-login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.guest-login-header {
    text-align: center;
    margin-bottom: 28px;
}

.guest-login-header .icon-wrap {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #00c3ff, #0077b6);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 195, 255, 0.35);
}

.guest-input-group {
    position: relative;
    margin-bottom: 20px;
}

.guest-input-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    display: block;
}

.guest-input-group .form-control {
    height: 50px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    padding-left: 44px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.guest-input-group .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.guest-input-group .input-icon {
    position: absolute;
    top: 38px;
    left: 15px;
    color: #64748b;
    font-size: 16px;
}

.btn-guest-submit {
    height: 50px;
    background: linear-gradient(135deg, #002B5B, #004080);
    color: white;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0, 43, 91, 0.3);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-guest-submit:hover {
    background: linear-gradient(135deg, #001e3d, #002B5B);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 43, 91, 0.4);
    color: white;
}

/* Guest Stay Hero Banner */
.guest-stay-banner {
    background: linear-gradient(135deg, #002B5B 0%, #004080 100%);
    border-radius: 16px;
    padding: 24px 30px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 43, 91, 0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.stay-room-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.stay-countdown-badge {
    background: rgba(0, 195, 255, 0.15);
    border: 1px solid #00c3ff;
    color: #e0f2fe;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Service Item Card */
.service-card-modern {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.service-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.service-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #f0f9ff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.service-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #002B5B;
    margin: 0;
    line-height: 1.3;
}

.service-card-price {
    font-size: 17px;
    font-weight: 800;
    color: #f75229;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Enhanced Combo Cards */
.combo-interactive-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.combo-interactive-card:hover {
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
}

.combo-interactive-card.active {
    border-color: #d97706 !important;
    background: #fffdfa !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), 0 12px 30px rgba(245, 158, 11, 0.15) !important;
}

.combo-time-pill {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

/* Quick Footer Navigation Buttons */
.footer-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    filter: brightness(1.08);
}

.footer-btn-booking {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    border: 1px solid #bae6fd;
}

.footer-btn-portal {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a;
}

.footer-btn-staff {
    background: #f3e8ff !important;
    color: #7e22ce !important;
    border: 1px solid #e9d5ff;
}

/* ==================== FLATPICKR LUXURY BOUTIQUE STYLING (dd/mm/yyyy) ==================== */
.flatpickr-calendar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 43, 91, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
    padding: 12px !important;
    width: 312px !important;
    user-select: none;
    box-sizing: border-box !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none !important;
}

/* Header Tháng & Năm */
.flatpickr-months {
    background: #002B5B !important;
    padding: 10px 8px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.flatpickr-months .flatpickr-month {
    color: #ffffff !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-current-month {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    position: static !important;
    width: 100% !important;
}

.flatpickr-current-month .cur-month {
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-right: 2px !important;
}

.flatpickr-current-month .cur-year {
    font-weight: 800 !important;
    color: #f59e0b !important;
}

.flatpickr-current-month .numInputWrapper span {
    display: none !important;
}

.flatpickr-current-month input.cur-year {
    padding: 0 !important;
    margin: 0 !important;
    cursor: default !important;
}

/* Nút chuyển tháng trước / sau */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    top: 13px !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    z-index: 10 !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

.flatpickr-months .flatpickr-prev-month {
    left: 10px !important;
}

.flatpickr-months .flatpickr-next-month {
    right: 10px !important;
}

/* Container chính căn giữa 100% không bị lệch */
.flatpickr-innerContainer {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.flatpickr-rContainer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Thứ trong tuần (T2 -> CN) có nền xám nhẹ rõ ràng */
.flatpickr-weekdays {
    width: 100% !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 8px !important;
    background: #f1f5f9 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

.flatpickr-weekdaycontainer {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
}

span.flatpickr-weekday {
    flex: 1 0 auto !important;
    width: calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    text-align: center !important;
    background: transparent !important;
    color: #334155 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Lưới các ngày trong tháng */
.flatpickr-days {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
}

.flatpickr-day {
    flex: 0 0 calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    width: calc(100% / 7) !important;
    height: 38px !important;
    line-height: 38px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.18s ease !important;
    margin: 2px 0 !important;
    box-sizing: border-box !important;
}

/* Rê chuột vào ngày chọn được */
.flatpickr-day:hover {
    background: #e0f2fe !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    transform: scale(1.05) !important;
}

/* Ngày hôm nay: Nền vàng kem nổi bật, viền cam hổ phách */
.flatpickr-day.today {
    border: 2px solid #f59e0b !important;
    color: #92400e !important;
    font-weight: 900 !important;
    background: #fef3c7 !important;
}

/* Ngày đang được chọn: Nền xanh Navy hoàng gia, chữ trắng sắc nét */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #002B5B !important;
    border-color: #002B5B !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 12px rgba(0, 43, 91, 0.4) !important;
    transform: scale(1.05) !important;
}

/* Ngày của tháng trước / tháng tới: Nền xám nhạt có viền đứt đoạn, chữ xám đậm rõ ràng không bị chìm */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    opacity: 0.85 !important;
}

.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #475569 !important;
}

/* Những ngày trong quá khứ bị khóa: Nền xám đậm hơn một chút, chữ xám rõ nét có gạch đỏ tinh tế */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    text-decoration: line-through !important;
    text-decoration-color: #ef4444 !important;
}

.flatpickr-input[readonly] {
    cursor: pointer !important;
    background-color: #ffffff !important;
}

/* ==========================================================================
   MASTER RESPONSIVE STYLING (MOBILE, TABLET, IPAD) - DESKTOP 100% UNCHANGED
   ========================================================================== */

/* Mobile Navigation Toggle & Drawer */
.mobile-menu-toggle {
    display: none;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: #e0f2fe;
    color: var(--coral);
    border-color: #0284c7;
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 43, 91, 0.15);
    z-index: 999;
    padding: 16px 20px 24px;
    animation: slideDown 0.22s ease forwards;
}

.mobile-nav-drawer.open {
    display: block;
}

.mobile-nav-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.mobile-nav-drawer ul li {
    margin-bottom: 6px;
}

.mobile-nav-drawer ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.mobile-nav-drawer ul li a:hover,
.mobile-nav-drawer ul li a.active {
    background: #f0f7ff;
    color: var(--coral);
}

.mobile-nav-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Tablet & Mobile Screens (<= 991.98px) ---------- */
@media (max-width: 991.98px) {
    .site-nav { display: none !important; }
    .header-cta-group .btn-guest-portal { display: none !important; }
    .mobile-menu-toggle { display: inline-flex !important; align-items: center; justify-content: center; }

    /* Header & Navigation */
    .site-header { padding: 8px 0; }
    .site-logo img { height: 38px; }
    
    /* Hero Section */
    .hero-section { padding: 35px 0 50px; }
    .hero-title { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
    .hero-desc { font-size: 14.5px; margin-bottom: 20px; }
    .hero-booking-card { padding: 18px; border-radius: 16px; margin-top: 15px; }

    /* Booking Mode Tabs on booking.html */
    .booking-mode-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        background: #f1f5f9 !important;
        padding: 6px !important;
        border-radius: 12px !important;
    }
    .booking-mode-tabs .tab-btn {
        padding: 10px 8px !important;
        font-size: 13.5px !important;
        justify-content: center !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }

    /* Room Cards in Booking Engine */
    .room-unified-card {
        flex-direction: column !important;
        border-radius: 16px !important;
        overflow: hidden;
        margin-bottom: 20px !important;
    }
    .room-unified-card .room-img-col {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
    }
    .room-unified-card .room-img-col img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .room-unified-card .room-body-col {
        padding: 16px !important;
    }
    .room-unified-card .room-price-col {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid #f1f5f9 !important;
        padding: 14px 16px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: #fafcff;
    }
    .room-unified-card .room-price-col .btn-book-action {
        width: auto !important;
        min-width: 140px;
        padding: 10px 18px;
    }

    /* Combo Cards: Smooth Horizontal Touch Carousel */
    .combo-cards-grid {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 12px !important;
        padding-bottom: 12px !important;
        margin: 0 -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .combo-cards-grid::-webkit-scrollbar {
        height: 6px;
    }
    .combo-cards-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }
    .combo-interactive-card {
        flex: 0 0 280px !important;
        max-width: 280px !important;
        scroll-snap-align: start;
    }

    /* Modals Responsive */
    .modal-dialog {
        margin: 10px auto 40px !important;
        max-width: calc(100vw - 20px) !important;
    }
    .modal-content {
        border-radius: 16px !important;
        max-height: 92vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .modal-content > form {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }
    .modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 16px !important;
    }
    .modal-footer {
        padding: 12px 16px !important;
        flex-shrink: 0;
    }
}

/* ---------- Mobile Phones Only (<= 767.98px) ---------- */
@media (max-width: 767.98px) {
    /* Typography */
    .hero-title { font-size: 24px; line-height: 1.25; }
    .hero-subtitle { font-size: 14px; }
    .section-main-title { font-size: 22px; }
    .section-sub-title { font-size: 13.5px; }
    
    /* Hero Search Form */
    .hero-booking-card {
        padding: 16px 14px;
        box-shadow: 0 10px 30px rgba(0, 43, 91, 0.12);
    }
    .btn-search-hero {
        height: 48px;
        font-size: 14.5px;
        letter-spacing: 0.5px;
    }
    
    /* Hourly Duration Cards (2h, 4h, 6h, 12h) */
    .duration-cards-row {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
    }
    .duration-card {
        padding: 8px 4px !important;
        font-size: 13px !important;
    }

    /* DatePicker (Flatpickr) on Mobile Phones */
    .flatpickr-calendar {
        width: calc(100vw - 20px) !important;
        max-width: 320px !important;
        padding: 8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        box-shadow: 0 15px 35px rgba(0, 43, 91, 0.25) !important;
    }
    .flatpickr-months {
        padding: 8px 6px !important;
    }
    .flatpickr-current-month {
        font-size: 15px !important;
    }
    .flatpickr-day {
        height: 36px !important;
        line-height: 36px !important;
        font-size: 14px !important;
    }

    /* Featured Rooms on Homepage */
    .featured-room-card {
        margin-bottom: 20px;
    }
    .featured-room-card .card-img-top {
        height: 190px;
    }

    /* Footer on Mobile */
    .site-footer {
        padding: 40px 0 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 15px;
    }
    .footer-quick-btn {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Guest & Staff Auth Cards */
    .guest-login-card, .staff-login-card {
        padding: 24px 16px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ---------- Very Small Phones (<= 420px) ---------- */
@media (max-width: 420px) {
    .booking-mode-tabs .tab-btn {
        font-size: 12px !important;
        padding: 8px 4px !important;
    }
    .room-unified-card .room-price-col {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
    }
    .room-unified-card .room-price-col .btn-book-action {
        width: 100% !important;
        text-align: center;
    }
    .duration-cards-row {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}




