/* Hệ màu sắc thương hiệu Stari Wellness Spa đồng bộ thiết kế */
:root {
    --stari-beige: #FDFBF7;       /* Nền sáng kem ấm áp, dễ chịu cho mắt */
    --stari-emerald: #114B3E;     /* Màu xanh lục bảo trầm chủ đạo (Wellness & Forest) */
    --stari-emerald-dark: #0B332A;/* Xanh lục bảo đậm hơn dùng cho hiệu ứng hover/overlay */
    --stari-gold: #C5A880;        /* Vàng cát/Be vàng sang trọng cho Logo, Icon và Bút bấm */
    --stari-mint: #3B7E6F;        /* Xanh bạc hà trầm làm điểm nhấn nhẹ */
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--stari-beige);
    color: #2D3732;
}

.font-serif { font-family: 'Playfair Display', serif; }
.font-script { font-family: 'Alex Brush', cursive; color: var(--stari-gold); }
.text-gold { color: var(--stari-gold) !important; }
.bg-light-custom { background-color: #F4EFE6; } /* Màu nền phụ ấm áp */
.tracking-wide { letter-spacing: 2px; }

/* NAVBAR */
.navbar {
    background-color: var(--stari-emerald) !important;
    padding: 15px 0;
}
.logo-lotus { color: var(--stari-gold); font-size: 1.8rem; }
.logo-text .main-title { color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1; }
.logo-text .sub-title { color: var(--stari-gold); font-size: 0.55rem; letter-spacing: 2px; }

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 16px !important;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--stari-gold) !important; }

.btn-lang-dropdown {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 4px;
}

/* HERO SECTION HOME */
.hero-section {
    background: linear-gradient(rgba(17, 75, 62, 0.75), rgba(17, 75, 62, 0.75)), url('/image/facility_1.png') no-repeat center center/cover;
    height: 75vh;
    display: flex;
    align-items: center;
}
.hero-description { font-size: 1.05rem; letter-spacing: 0.5px; }

/* ==========================================
   GIAO DIỆN CƠ SỞ VẬT CHẤT
   ========================================== */
.facility-banner {
    background: linear-gradient(rgba(17, 75, 62, 0.6), rgba(17, 75, 62, 0.6)), url('/image/facility_2.png') no-repeat center center/cover;
    height: 35vh;
}

/* Nút bấm Filter */
.btn-filter {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #55625B;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.btn-filter:hover, .btn-filter.active {
    background-color: var(--stari-emerald);
    border-color: var(--stari-emerald);
    color: #fff;
}

/* Khung bọc ảnh chống tràn để zoom-in */
.img-zoom-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 4px 4px 0 0;
}
.img-zoom-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 280px;
    object-fit: cover;
}
.gallery-card:hover .img-zoom-wrapper img {
    transform: scale(1.08);
}
/* 1. Đảm bảo row không bị ảnh hưởng bởi Grid */
.facility-grid {
    display: flex !important;
    flex-wrap: wrap;
}

/* 2. Ép thẻ bài card luôn đầy đủ chiều cao của cột */
.facility-item {
    display: flex;
    flex-direction: column;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Đây là chìa khóa để các card bằng nhau */
    border: 1px solid #ddd; /* Giữ border nếu có */
}

/* 3. Phần body của card tự giãn nở */
.gallery-card .p-3 {
    flex-grow: 1; /* Lấp đầy phần còn thiếu */
    display: flex;
    flex-direction: column;
}

/* 4. Căn chỉnh text bên trong p-3 */
.gallery-card .p-3 h5 {
    margin-bottom: auto; /* Đẩy nội dung mô tả xuống dưới nếu muốn */
}

/* Hiệu ứng mượt mà khi ẩn hiện danh mục phòng */
.facility-item {
    transition: all 0.4s ease;
}
.facility-item.hide {
    display: none;
}

/* Elements */
.btn-zen {
    background-color: var(--stari-gold); color: var(--stari-emerald-dark); font-weight: 600; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.85rem; padding: 10px 24px;
    transition: all 0.3s; border: 1px solid var(--stari-gold);
}
.btn-zen:hover { background-color: transparent; color: var(--stari-gold); }

.tab-content { display: none; }
.tab-content.active { display: block; }
.promo-box { border: 2px dashed var(--stari-gold) !important; border-radius: 6px; }
/* Đảm bảo hàng chứa các promo-box có chiều cao bằng nhau */
.tab-uu-dai .row {
    display: flex !important;
    align-items: stretch !important; /* Quan trọng: kéo dãn các cột bằng nhau */
}

/* Biến box thành một container có thể đẩy các thành phần bên trong */
.promo-box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Ép box cao bằng cột */
    margin-bottom: 0 !important; /* Loại bỏ margin thừa của Bootstrap nếu có */
}

/* Đẩy nút ĐẶT LỊCH xuống dưới cùng của khối box */
.promo-box .btn-zen {
    margin-top: auto !important; /* Đây là chìa khóa: đẩy nút xuống dưới cùng */
    width: fit-content;
    align-self: center; /* Căn giữa nút */
}


/* MAP OVERLAY */
.zen-map-wrapper { position: relative; width: 100%; overflow: hidden; background-color: var(--stari-emerald); }
.map-bg { width: 100%; z-index: 1; }
.map-bg iframe { height: 650px; opacity: 0.75; }
.map-overlay-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    background: linear-gradient(to right, rgba(11, 51, 42, 0.96) 35%, rgba(11, 51, 42, 0.7) 100%);
    display: flex; align-items: center;
}
.overlay-card-dark { padding: 20px 0; }
.section-title-gold { color: var(--stari-gold); font-size: 2.2rem; letter-spacing: 3px; font-weight: 500; }


/* Style dành cho class bao bọc bên ngoài */
.logo-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;  /* Giới hạn khung hiển thị trên menu */
    height: 45px;
    overflow: hidden; /* Giữ ảnh không tràn ra ngoài menu */
}

/* Tối ưu riêng cho ảnh logo_star.png để triệt tiêu khoảng trắng thừa */
.logo-star img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Phóng to phần lõi ngôi sao lên khoảng 1.4 đến 1.5 lần để bù lại khoảng trắng viền ảnh */
    transform: scale(1.4); 
    transition: transform 0.3s ease;
}

/* Hiệu ứng mượt mà khi người dùng di chuột vào logo (tùy chọn) */
.logo-star:hover img {
    transform: scale(1.5);
}

@media (min-width: 992px) {
    .border-lg-end { border-right: 1px solid rgba(255, 255, 255, 0.15) !important; }
}
.review-item-card { background-color: #ffffff !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-height: 100px; }
.review-avatar { width: 24px; height: 24px; line-height: 24px; font-size: 10px; }

.btn-outline-google-review {
    border: 1px solid var(--stari-gold); color: var(--stari-gold) !important; background-color: transparent;
    padding: 8px 24px; font-size: 0.85rem; border-radius: 4px; font-weight: 500; transition: all 0.3s ease;
    text-decoration: none; display: inline-block;
}
.btn-outline-google-review:hover { background-color: var(--stari-gold); color: var(--stari-emerald-dark) !important; }

footer { background-color: #0A241F; color: #fff; } /* Tone xanh lục cực đậm thay cho màu đen chân trang */

.floating-contact { position: fixed; bottom: 25px; right: 25px; z-index: 99999; display: flex; flex-direction: column; gap: 12px; }
.floating-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: transform 0.3s; }
.floating-btn:hover { transform: scale(1.1); }
.btn-messenger { background: linear-gradient(135deg, #006AFF, #00C6FF); color: #fff; font-size: 1.5rem; }
.btn-zalo { background-color: #0068FF; padding: 6px; }
.btn-zalo img { width: 100%; height: 100%; }

@media (max-width: 991.98px) {
    .zen-map-wrapper { display: flex; flex-direction: column; }
    .map-bg { order: 2; }
    .map-bg iframe { height: 380px; }
    .map-overlay-content { position: relative; order: 1; padding: 50px 0; background: var(--stari-emerald); }
    .section-title-gold { font-size: 1.7rem; }
}
@media (min-width: 1200px) { .border-xl-start { border-left: 1px solid rgba(255, 255, 255, 0.2) !important; } }

/* FADE IN UP ANIMATION */
.anim-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation-name: fadeInUpAnimation;
    animation-duration: 1.2s;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    animation-fill-mode: forwards;
}
.anim-delay-1 { animation-delay: 0.2s; }
.anim-delay-2 { animation-delay: 0.7s; }

@keyframes fadeInUpAnimation {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}