/* ==========================================
   1. HEADER & LOGO - NGUYÊN BẢN (PC BASE)
   ========================================== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    background-color: transparent;
}

/* Thẻ bọc toàn bộ khối Logo + Tên + Dòng phụ */
.header-logo-container {
    display: flex !important;
    align-items: center !important; /* CĂN GIỮA TRỤC DỌC BẮT BUỘC */
    gap: 12px !important;
    text-decoration: none;
    flex-wrap: nowrap !important;
}

.header-logo-container:hover {
    opacity: 0.85;
}

/* Ảnh Logo PC & Mobile - Khóa khung chuẩn */
.logo-pc, 
.logo-mobile,
.header-mini-logo {
    height: auto;
    object-fit: contain;
    flex-shrink: 0 !important; /* Cố định khung ảnh, không cho flex làm méo trục */
    display: block;
    margin: 0 !important;
}

.logo-pc {
    display: inline-block !important;
    width: 65px;
}

.logo-mobile {
    display: none !important; /* Mặc định ẩn trên PC */
}

/* Khung bọc 2 dòng chữ - Căn giữa trục nội bộ */
.header-text-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Căn giữa 2 dòng chữ theo chiều dọc ảnh */
    margin: 0 !important;
    padding: 0 !important;
}

/* Tên quán (Dòng 1) */
.header-brand-name {
    color: var(--gold-color, #c5a059);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1 !important; /* Triệt tiêu khoảng trống ẩn của font */
    margin: 0 0 3px 0 !important; /* Tạo khoảng cách cố định xuống dòng dưới */
    padding: 0 !important;
}

/* Dòng chữ phụ (Dòng 2) */
.header-brand-sub {
    font-size: 0.8rem;
    color: var(--text-light, #ffffff);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
}

/* Khối bên phải & Navigation PC */
.header-right-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-light, #ffffff);
    text-decoration: none;
    margin-left: 28px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--gold-color, #c5a059);
    transition: width 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--gold-color, #c5a059);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.pc-only-trigger {
    display: flex !important;
}

.mobile-only-trigger {
    display: none !important;
}