/* Header Styles - File CSS riêng cho header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    background-image: radial-gradient(circle, rgba(242, 5, 5, 0.12) 0%, rgba(242, 5, 5, 0) 100%);
    background-attachment: fixed;
    padding: 0;
    width: 100%;
    box-shadow: 0 4px 12px 0 rgba(20, 20, 21, 0.03); /* Drop shadow: X:0, Y:4, Blur:12, Spread:0, Color:#141415, Opacity:3% */
    z-index: 1000;
}

.header-container {
    max-width: 1502px;
    margin: 0 auto;
    padding: 1.5rem 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media screen and (max-width: 1720px) {
    .header-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Logo và Navigation Section */
.header-logo-nav {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-shrink: 0;
}

/* Logo Section */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-icon {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.mobile-menu-btn{
    display: none;
}

.nav-link {
    color: #262626; /* Màu xám đậm/đen */
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #DB0000;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #DB0000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--hover-duration) var(--motion-ease);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-actions .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.header-actions .action-btn i {
    font-size: 14px;
}

/* Nút đổi ngôn ngữ VI/EN */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    padding: 3px;
    border: 1px solid #F5C2C2;
    border-radius: 999px;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
}

.lang-toggle > i {
    color: #DB0000;
    font-size: 15px;
    margin: 0 4px 0 6px;
}

.lang-toggle [data-lang-opt] {
    min-width: 34px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #8C8C8C;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-toggle [data-lang-opt].active {
    background: #DB0000;
    color: #ffffff;
}

.lang-toggle:hover [data-lang-opt]:not(.active) {
    color: #DB0000;
}
