/* --- BIẾN MÀU SẮC THƯƠNG HIỆU (BRAND GUIDELINES) --- */
:root {
    --primary-purple: #8e47f4;
    --brand-gradient: linear-gradient(135deg, #180161, #4F1787);
    --accent-yellow: #efab1f;
    --warm-bg: #fef5e6;
    --graphic-yellow: #ffdf6f;
    --text-main: #2b2b2b;
    --text-light: #666666;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(142, 71, 244, 0.08);
    --shadow-md: 0 12px 32px rgba(24, 1, 97, 0.12);
    --radius-md: 16px;
    --radius-pill: 100px;
}

/* --- RESET & TYPOGRAPHY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--warm-bg);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

/* --- NÚT BẤM (BUTTONS) --- */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-purple);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #7a3add;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- NAVBAR --- */
.navbar {
    background-color: rgba(254, 245, 230, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: #180161;
}

.logo .dot { color: var(--primary-purple); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-purple);
    font-weight: 600;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 110px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #180161;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

/* Styling cho Mega Menu Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown > a { display: flex; align-items: center; gap: 4px; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 12px;
    top: 100%;
    left: 0;
    z-index: 1000;
    overflow: hidden;
}
.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.dropdown-content a:hover { background-color: #f4edff; color: var(--primary-purple); }
.dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.3s; }
.menu-toggle { display: none; font-size: 32px; color: #180161; cursor: pointer; }
.btn-nav-book { padding: 10px 20px; color: var(--white) !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- WIDGET PILL (Thanh đặt phòng) --- */
.booking-widget-pill {
    background: var(--white);
    display: inline-flex;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    gap: 16px;
    text-align: left;
}

.widget-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
}

.widget-item i {
    font-size: 28px;
    color: var(--primary-purple);
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.input-group select, .input-group input {
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--text-light);
    font-family: inherit;
    background: transparent;
    cursor: pointer;
}

.time-inputs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-divider {
    width: 1px;
    height: 40px;
    background-color: #eee;
}

.btn-search {
    background: var(--brand-gradient);
    color: var(--white);
    padding: 16px 32px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-search:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Blob trang trí */
.hero-blob {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--graphic-yellow);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 1;
}

/* --- SECTION CHUNG --- */
.section-rooms {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #180161;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
}

/* --- ROOM GRID & CARDS --- */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.room-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.room-img-wrapper {
    position: relative;
    height: 220px;
    background-color: #eee;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-yellow);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}

.room-info {
    padding: 24px;
}

.room-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.room-meta {
    display: flex;
    gap: 16px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.room-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.btn-outline {
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    text-align: center;
    display: block;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* Animation Loading */
.loading {
    text-align: center;
    color: var(--primary-purple);
    font-weight: 500;
    grid-column: 1 / -1;
    padding: 40px;
}
.spinner {
    animation: spin 1s linear infinite;
    display: inline-block;
    font-size: 24px;
    vertical-align: middle;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* --- TRANG CHI TIẾT PHÒNG --- */
.bg-gray { background-color: #f9f9fa; }
.navbar-solid { background-color: var(--white); box-shadow: var(--shadow-sm); position: sticky; }

.room-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Cột trái */
.room-gallery {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 32px;
}
.room-gallery img { width: 100%; height: 100%; object-fit: cover; }

.detail-title { font-size: 32px; font-weight: 800; color: #180161; margin-bottom: 12px; }
.detail-meta { display: flex; gap: 24px; color: var(--text-light); margin-bottom: 32px; font-size: 15px; }
.detail-meta span { display: flex; align-items: center; gap: 8px; }

.detail-section { margin-bottom: 40px; background: var(--white); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.detail-section h3 { font-size: 20px; color: var(--text-main); margin-bottom: 16px; border-bottom: 2px solid #f0f0f0; padding-bottom: 12px; }

.pricing-table { width: 100%; border-collapse: collapse; text-align: left; }
.pricing-table th, .pricing-table td { padding: 16px; border-bottom: 1px solid #eee; }
.pricing-table th { background: #fef5e6; color: var(--text-main); font-weight: 600; }
.pricing-table td.price-val { font-weight: 700; color: var(--primary-purple); }

/* Cột phải (Booking Form) */
.room-booking-sidebar { position: relative; }
.booking-card {
    background: var(--white); padding: 32px;
    border-radius: var(--radius-md); box-shadow: var(--shadow-md);
    position: sticky; top: 100px; /* Hiệu ứng chạy theo màn hình */
}
.booking-card h3 { font-size: 24px; color: #180161; }
.booking-subtitle { color: var(--text-light); font-size: 14px; margin-bottom: 24px; }

.booking-form .form-group { margin-bottom: 16px; }
.booking-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.booking-form input, .booking-form textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd;
    border-radius: 8px; font-family: inherit; font-size: 14px; outline: none; transition: border 0.3s;
}
.booking-form input:focus { border-color: var(--primary-purple); }

/* Addons Checkbox */
.addon-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 8px; cursor: pointer; transition: background 0.2s; }
.addon-item:hover { background: #fafafa; }
.addon-item label { margin: 0; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.addon-item .addon-price { color: var(--primary-purple); font-weight: 600; font-size: 13px; }

.divider { border: none; border-top: 1px dashed #ddd; margin: 24px 0; }

.total-price-box { display: flex; justify-content: space-between; align-items: center; background: #fef5e6; padding: 16px; border-radius: 8px; margin-bottom: 24px; }
.total-price-box span { font-weight: 600; color: var(--text-main); }
.total-price-box strong { font-size: 24px; color: var(--primary-purple); }

.btn-submit { width: 100%; padding: 16px; font-size: 16px; }
.booking-message { margin-top: 16px; text-align: center; font-size: 14px; font-weight: 500; }
.msg-success { color: #10b981; }
.msg-error { color: #ef4444; }

/* --- SECTION HỆ SINH THÁI DỊCH VỤ --- */
.bg-warm { background-color: var(--warm-bg); }
.section-services { padding: 80px 0; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary-purple);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: #f4edff;
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px auto;
    transition: transform 0.4s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-purple);
    color: var(--white);
}
.service-card h3 {
    font-size: 20px;
    color: #180161;
    margin-bottom: 16px;
    font-weight: 700;
}
.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* --- NÚT LIÊN HỆ NỔI (FLOATING BUTTONS) --- */
.floating-contact-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}
.float-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.float-btn.btn-call {
    background: #ef4444; /* Đỏ hotline */
    color: white;
    font-size: 28px;
    animation: pulse-red 2s infinite;
}
.float-btn.btn-zalo { background: #fff; }
.float-btn.btn-mess { background: #fff; }

.float-btn:hover {
    transform: scale(1.1);
}

/* Hiệu ứng rung bần bật cho nút gọi */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Tinh chỉnh nhỏ cho mobile */
@media (max-width: 992px) {
    .floating-contact-group { bottom: 20px; right: 20px; }
    .float-btn { width: 48px; height: 48px; }
    .float-btn img { width: 26px; height: 26px; }
    .float-btn.btn-call { font-size: 24px; }
}

/* Responsive cho mobile */
@media (max-width: 992px) {
    .room-detail-container { grid-template-columns: 1fr; }
    .booking-card { position: static; }
}

/* --- ĐỐI TÁC & KHÁCH HÀNG (MARQUEE) --- */
.section-partners { padding: 60px 0; background: var(--white); overflow: hidden; }
.partner-title { text-align: center; color: var(--text-light); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 40px; }
.partner-marquee { width: 100%; overflow: hidden; display: flex; align-items: center; }
.marquee-content { display: flex; gap: 80px; width: max-content; animation: scrollMarquee 25s linear infinite; }
.marquee-content img { height: 45px; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: all 0.4s ease; cursor: pointer; }
.marquee-content img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.15); }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- THƯ VIỆN ẢNH XỊN XÒ (BENTO GRID) --- */
.section-gallery { padding: 80px 0; }
.bento-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 20px; }
.bento-item { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 1, 97, 0.9), transparent 60%); opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: flex-end; padding: 24px; }
.bento-overlay span { color: var(--white); font-size: 20px; font-weight: 700; transform: translateY(20px); transition: transform 0.4s ease; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.bento-item:hover { box-shadow: var(--shadow-md); }
.bento-item:hover img { transform: scale(1.08); }
.bento-item:hover .bento-overlay { opacity: 1; }
.bento-item:hover .bento-overlay span { transform: translateY(0); }

/* Grid Layout setup (Đan xen to nhỏ) */
.item-large { grid-column: span 2; grid-row: span 2; }
.item-tall { grid-row: span 2; }
.item-wide { grid-column: span 2; }

/* --- FOOTER & BẢN ĐỒ --- */
.site-footer {
    background-color: #180161;
    color: var(--white);
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 1.5fr; /* Tỷ lệ 3 cột */
    gap: 40px;
    margin-bottom: 60px;
}
.footer-desc {
    color: #bba8df; /* Tím nhạt */
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}
.social-links {
    display: flex;
    gap: 16px;
}
.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--primary-purple);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(142, 71, 244, 0.4);
}
.footer-col h3 {
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--graphic-yellow);
}
.contact-list {
    list-style: none;
    padding: 0;
}
.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #bba8df;
    font-size: 15px;
    align-items: flex-start;
    line-height: 1.5;
}
.contact-list li i {
    font-size: 22px;
    color: var(--graphic-yellow);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-list li strong {
    color: var(--white);
}
.map-wrapper {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.footer-bottom {
    background: #100044; /* Tím đen hơn chút */
    padding: 24px 0;
    text-align: center;
    color: #bba8df;
    font-size: 14px;
    font-weight: 500;
}

/* --- TRANG DỊCH VỤ CHI TIẾT --- */
.page-header {
    text-align: center;
    padding: 100px 0 40px 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}
.page-title {
    font-size: 46px; /* Làm TO HẲN tiêu đề trang phụ trên Máy tính */
    color: #180161;
    font-weight: 800;
    margin-bottom: 16px;
}

/* Ẩn ngắt dòng trên máy tính để Không Gian Lý Tưởng nằm trên 1 hàng */
.mobile-break { display: none; }
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 0;
}
.service-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.service-detail-icon {
    font-size: 44px;
    color: #4F1787; /* Màu tím đậm Novaup style */
    flex-shrink: 0;
}
.service-detail-content h4 {
    font-size: 17px;
    color: #180161;
    margin-bottom: 8px;
    font-weight: 700;
}
.service-detail-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- TRANG BÁO GIÁ (PRICING) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}
.pricing-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: transform 0.3s;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.pricing-card.popular {
    border: 2px solid var(--primary-purple);
    padding: 56px 32px; /* Thẻ ở giữa cao hơn chút cho nổi bật */
    box-shadow: var(--shadow-md);
}
.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand-gradient);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.pricing-header h3 { font-size: 22px; color: #180161; margin-bottom: 8px; }
.pricing-header p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.price-amount { font-size: 16px; color: var(--text-light); }
.price-amount span { font-size: 36px; font-weight: 800; color: var(--primary-purple); }
.pricing-features { list-style: none; padding: 0; margin: 0; }
.pricing-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; color: var(--text-main); }
.pricing-features li i { color: #10b981; font-size: 20px; }
.pricing-features li.disabled { color: #aaa; text-decoration: line-through; }
.pricing-features li.disabled i { color: #aaa; }

/* Mobile cho Bảng giá */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .pricing-card.popular { padding: 40px 32px; }
}

/* --- TRANG GIỚI THIỆU (ABOUT US) --- */
.about-intro {
    padding: 100px 0;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-intro-img img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}
.value-card {
    background: var(--warm-bg);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid transparent;
}
.value-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}
.value-icon {
    font-size: 56px;
    color: var(--accent-yellow);
    margin-bottom: 24px;
}
.value-card h3 {
    font-size: 20px;
    color: #180161;
    margin-bottom: 16px;
    font-weight: 700;
}
.value-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Ẩn ngắt dòng trên máy tính để Không Gian Lý Tưởng nằm trên 1 hàng */
.mobile-only { display: none;
}

/* --- TOOLBAR TÌM KIẾM & LỌC CHUNG --- */
.toolbar-container { max-width: 800px; margin: -40px auto 40px auto; position: relative; z-index: 10; background: var(--white); padding: 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center; }
.toolbar-search { flex: 1; position: relative; }
.toolbar-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 20px; }
.toolbar-search input { width: 100%; padding: 14px 20px 14px 52px; border: 1px solid #eee; border-radius: var(--radius-pill); font-size: 15px; outline: none; transition: border 0.3s; background: transparent; }
.toolbar-search input:focus { border-color: var(--primary-purple); }
.toolbar-filter select { padding: 14px 24px; border: 1px solid #eee; border-radius: var(--radius-pill); font-size: 15px; outline: none; cursor: pointer; background: #f9f9fa; color: var(--text-main); font-weight: 600; appearance: none; }

/* Màn hình Tablet & Điện thoại */
@media (max-width: 992px) {
    
    /* -- MENU MOBILE (Fix cuộn dọc) -- */
    .menu-toggle { display: block; } 
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none; 
    }
    .nav-links.active { 
        display: flex; 
        animation: fadeIn 0.3s; 
        max-height: calc(100vh - 70px); /* Cho phép menu cuộn dọc nếu quá dài */
        overflow-y: auto; 
        -webkit-overflow-scrolling: touch; 
    }
    .nav-links > a, .dropdown > a { padding: 16px 24px; border-bottom: 1px solid #eee; display: block; width: 100%; }
    .dropdown-content { position: static; box-shadow: none; display: block; background: #f9f9fa; border-radius: 0; }
    .dropdown-content a { padding-left: 40px; } 
    .btn-nav-book { margin: 16px; width: calc(100% - 32px); text-align: center; justify-content: center; }

    /* -- HERO TEXT & PAGE HEADER (TỐI ƯU MOBILE) -- */
    .hero { padding-top: 75px; padding-bottom: 40px; } /* Kéo sát lên trên nữa */
    .page-header { padding: 75px 20px 24px 20px !important; } /* Kéo sát Header các trang phụ */
    
    .page-title { font-size: 24px !important; line-height: 1.4; white-space: normal !important; word-wrap: break-word; } 
    .mobile-only { display: block; }

    .hero-title { 
        font-size: 36px; 
        line-height: 1.3; 
        margin-bottom: 12px; 
    } 
    .hero-title span {
        font-size: 26px; /* Tối ưu hiệu suất nhỏ hơn nhưng đủ to */
        display: block; 
        margin-top: 8px; 
        white-space: nowrap; 
        -webkit-background-clip: text; 
        -webkit-text-fill-color: transparent;
    }
    .hero-desc { font-size: 14px; margin-bottom: 24px; }

    /* -- WIDGET ĐẶT PHÒNG (Fix thò thụt) -- */
    .booking-widget-pill { flex-direction: column; padding: 20px; border-radius: 16px; width: 100%; box-sizing: border-box; }
    .widget-item { padding: 8px 0; width: 100%; align-items: flex-start; }
    .input-group { width: calc(100% - 40px); }
    .input-group select, .input-group input { width: 100%; box-sizing: border-box; }
    .time-inputs { display: flex; gap: 8px; width: 100%; align-items: center; }
    .time-inputs input { width: 45%; }
    .widget-divider { height: 1px; width: 100%; margin: 8px 0; background-color: #eee; }
    .btn-search { width: 100%; justify-content: center; margin-top: 16px; padding: 14px; }

    /* -- FIX LỖI ẢNH TRANG DỊCH VỤ -- */
    .container[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .container[style*="grid-template-columns: 1fr 1fr"] img { margin-top: 24px; }

    /* -- CÁC SECTION KHÁC -- */
    .section-rooms, .section-services, .section-gallery, .section-partners { padding: 40px 0 !important; }
    .section-services { margin-top: -20px !important; padding-top: 50px !important; } 
    .section-header { margin-bottom: 32px; }
    .section-title { font-size: 24px; line-height: 1.3; margin-bottom: 8px; }
    
    .service-grid { gap: 16px; margin-top: 24px; }
    .service-card { padding: 24px 20px; }
    .service-icon { width: 60px; height: 60px; font-size: 32px; margin-bottom: 16px; }

    .about-intro { padding: 60px 0; }
    .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .value-grid { grid-template-columns: 1fr; gap: 24px; }
    .value-card { padding: 32px 24px; }
    
    .room-detail-container { grid-template-columns: 1fr; padding-top: 20px; }
    .room-gallery { height: 250px; }
    .detail-title { font-size: 24px; }
    .detail-section { padding: 16px; }
    .booking-form .form-row { grid-template-columns: 1fr; }

    .bento-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .item-large, .item-tall, .item-wide { grid-column: span 1; grid-row: span 1; }
    .bento-overlay { opacity: 1; background: linear-gradient(to top, rgba(24, 1, 97, 0.7), transparent 80%); } 
    .bento-overlay span { transform: translateY(0); font-size: 18px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .map-wrapper { height: 250px; }
    .service-detail-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }

    /* -- TOOLBAR TÌM KIẾM (MOBILE) -- */
    .toolbar-container { flex-direction: column; border-radius: 16px; padding: 16px; margin-top: -30px; }
    .toolbar-search input, .toolbar-filter select { border-radius: 8px; width: 100%; }
}