:root {
    --primary-color: #E31C25;
    --text-main: #333333;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
}

/* ===== MONTSERRAT ===== */
@font-face {
     font-family: "Montserrat-Regular";
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-Italic";
    src: url("../fonts/Montserrat-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ===== SVN SIGOKAE ===== */
@font-face {
    font-family: "SVN-Sigokae";
    src: url("../fonts/SVN-Sigokae.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

@media screen and (max-width: 1440px) {
    .container {
        max-width: 1290px;
    }
}

@media screen and (max-width: 1290px) {
    .container {
        max-width: 1184px;
    }
}

@media screen and (max-width: 1184px) {
    .container {
        max-width: 1024px;
    }
}

@media screen and (max-width: 898px) {
    .container {
        max-width: 768px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 640px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 48px;
    letter-spacing: 1px;
    line-height: 135%;
    font-family: "SVN-Sigokae";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat-Regular";
    color: var(--text-main);
    line-height: 1.6;
}

/* HEADER STYLE - Transparent overlay ban đầu */
header {
    padding: 15px 0;                   
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
    transition: all 0.3s ease;          
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    height: 48px;                     
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;      
}


header.scrolled {
    position: fixed;
    top: 0;
    background-color: #121212;        
    padding: 8px 0;                
    box-shadow: 0 2px 12px rgba(0,0,0,0.4); 
}


header.scrolled .logo img {
    height: 39px;                      
}


.nav__update {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__update ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav__update a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
    font-family: "Montserrat-Bold";
    white-space: nowrap;
    line-height: 1.5;
}


@media (max-width: 1368px) {
    header.scrolled nav ul {
        gap: 20px;
    }
    nav a {
        font-size: 12px;
    }
}
/* ===== HEADER RIGHT ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto; 
}


nav li {
    position: relative;
    padding-left: 0;
}

nav li.current-menu-item>a,
nav li.current-menu-parent>a,
nav li.current-menu-ancestor>a {
    color: #E31F26;
}

nav li.current-menu-item>a::after,
nav li.current-menu-parent>a::after,
nav li.current-menu-ancestor>a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E31F26;
}

nav a:hover {
    color: #E31F26;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-lang-dropdown {
    position: relative;
    cursor: pointer;
    font-family: "Montserrat-Regular";
    font-size: 14px;
    font-weight: 600;
    color: white;
    user-select: none;
}

.selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.selected-lang:hover {
    border-color: white;
}

.arrow-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}