/**
 * Header Custom Styles with FZ Poppins Font
 * IPM International - Header styling with custom fonts
 * 
 * OPTIMIZED VERSION - Removed duplicates from header.css
 * This file now contains ALL font-related styling for header
 * The original header.css only handles layout structure
 */

/* Header Top Section */
.header-top {
    font-family: var(--font-fz-poppins);
    background-color: #f9f9f9;
    border-bottom: 1px solid #dcd9d9;
}

.header-contact a {
    font-family: var(--font-fz-poppins);
    font-weight: 400;
    color: #8e827c;
    text-decoration: none;
    font-size: 14px;
}

.header-contact a:hover {
    color: #f6c945;
}

/* Language Dropdown */
.selected-language {
    font-family: var(--font-fz-poppins);
    font-weight: 500;
}

.language-item {
    font-family: var(--font-fz-poppins);
    font-weight: 400;
}

/* Header Main Section */
.header-main {
    font-family: var(--font-fz-poppins);
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

/* Logo */
.logo {
    font-family: var(--font-fz-poppins);
    font-weight: 700;
}

/* Main Navigation */
.main-menu li a {
    font-family: var(--font-fz-poppins);
    font-weight: 600;
    color: #8e827b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.main-menu li a:hover {
    color: #f6c945;
}

.main-menu li.active a {
    color: #362921;
    font-weight: 700;
}

/* Dropdown Menu */
.dropdown-menu li a {
    font-family: var(--font-fz-poppins);
    font-weight: 500;
    color: #8e827b;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    color: #f6c945;
    font-weight: 600;
}

/* Search Box */
.search-box input {
    font-family: var(--font-fz-poppins);
    font-weight: 400;
    color: #202224;
    font-size: 14px;
}

.search-box input::placeholder {
    font-family: var(--font-fz-poppins);
    font-weight: 400;
    color: #8e827c;
}

/* Site Header (Bootstrap) - Complete font styling */
.site-header {
    font-family: var(--font-fz-poppins);
    position: relative;
    background: #FFF9E5;
}

.navbar-brand {
    font-family: var(--font-fz-poppins);
    font-weight: 700;
}

.nav-link {
    font-family: var(--font-fz-poppins);
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

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

.nav-link.active {
    color: #ff9500;
    font-weight: 600;
}

/* Special navigation button styles */
.thong-bao {
    background-color: #ff9500;
    color: white !important;
    border-radius: 5px;
}

.thong-bao:hover {
    background-color: #e08400;
    color: white !important;
}

.thong-bao.active {
    background-color: #e08400;
    color: white !important;
}

.lang-name {
    font-family: var(--font-fz-poppins);
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Custom Classes for Header Elements */
.header-title {
    font-family: var(--font-fz-poppins);
    font-weight: 700;
}

.header-subtitle {
    font-family: var(--font-fz-poppins);
    font-weight: 500;
}

.header-text {
    font-family: var(--font-fz-poppins);
    font-weight: 400;
}

.header-button {
    font-family: var(--font-fz-poppins);
    font-weight: 600;
}

/* Responsive font adjustments */
@media (max-width: 768px) {
    .header-contact a {
        font-size: 12px;
    }
    
    .main-menu li a {
        font-size: 13px;
    }
    
    .lang-name {
        font-size: 12px;
    }
    
    .search-box input {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .header-contact a {
        font-size: 11px;
    }
    
    .main-menu li a {
        font-size: 12px;
    }
    
    .selected-language span {
        font-size: 10px;
    }
    
    .language-dropdown-content span {
        font-size: 10px;
    }
}

/* Font smoothing for better rendering */
.header-top,
.header-main,
.site-header {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} 