/* Top Bar */
.top-bar {
    background-color: #f2f2f2;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
}

.top-left span {
    margin-right: 20px;
}

.top-right a {
    margin-left: 20px;
    color: #666;
    font-weight: 500;
}

/* Main Header */
.site-header {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.site-title {
    margin: 0;
    line-height: 1;
}

.site-title a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: -0.5px; /* Ép chữ lại gần nhau cho mạnh mẽ */
    display: flex;
    align-items: center;
}

.navy-part {
    color: var(--primary-color);
}

.gold-part {
    /* Hiệu ứng Vàng Kim Loại đa tầng */
    background: linear-gradient(
        to bottom, 
        #ad8a4e 22%, 
        #ecd08c 45%, 
        #ffffff 50%, 
        #ecd08c 55%, 
        #ad8a4e 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 1px 1px rgba(0,0,0,0.2));
    margin-left: 2px;
}

/* Hiệu ứng bóng bẩy khi hover */
.site-title a:hover .gold-part {
    background: linear-gradient(
        to bottom, 
        #ad8a4e 0%, 
        #ffffff 50%, 
        #ad8a4e 100%
    );
    -webkit-background-clip: text;
    transition: all 0.5s ease;
}

@media (max-width: 1200px) {
    .site-title a {
        font-size: 20px;
    }
}

/* Navigation Desktop */
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-navigation li {
    margin: 0 15px;
    position: relative;
}

.main-navigation a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    text-transform: uppercase;
    display: block;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

/* Hotline Button */
.header-cta .btn-hotline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--primary-color);
    line-height: 1.2;
}

.header-cta .hotline-label {
    font-size: 12px;
    color: #777;
}

.header-cta .hotline-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary-color);
}

/* Menu Toggle Button (Default Hidden) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile Menu Header (Title & Close Button) */

.mobile-menu-header {

    display: none;

    justify-content: space-between;

    align-items: center;

    padding: 20px;

    background: var(--primary-color);

    color: #fff;

}



.mobile-menu-title {

    font-weight: 700;

    text-transform: uppercase;

    font-size: 1.1rem;

}



.close-menu {

    background: transparent;

    border: none;

    color: #fff;

    font-size: 1.5rem;

    cursor: pointer;

}



.menu-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0,0,0,0.5);

    z-index: 998;

    display: none; /* Mặc định ẩn */

    opacity: 0;

    transition: opacity 0.3s ease;

}



.menu-overlay.active {

    display: block;

    opacity: 1;

}



/* RESPONSIVE CSS */

@media (max-width: 992px) {

    .header-inner {

        height: 70px;

    }



    /* Ẩn Topbar trên mobile cho gọn */

    .top-bar { display: none; }



    /* Ẩn Hotline text */

    .header-cta { display: none; }

    

    .menu-toggle {

        display: block;

        padding: 0 15px;

    }



    /* --- SIDEBAR MENU STYLE --- */

    .main-navigation {

        display: block; /* Luôn render để slide ra */

        position: fixed;

        top: 0;

        left: -300px; /* Ẩn sang trái */

        width: 280px;

        height: 100vh;

        background: #fff;

        z-index: 999;

        transition: left 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);

        box-shadow: 5px 0 15px rgba(0,0,0,0.1);

        overflow-y: auto;

    }



    .main-navigation.toggled {

        left: 0; /* Trượt ra */

    }



    .mobile-menu-header {

        display: flex; /* Hiện header của menu mobile */

    }



    .main-navigation ul {

        flex-direction: column;

        display: block;

        padding: 0;

    }



    .main-navigation li {

        margin: 0;

        border-bottom: 1px solid #f0f0f0;

    }



    .main-navigation a {

        padding: 15px 20px;

        font-size: 15px;

        color: #333;

        display: block;

    }

    

    .main-navigation a:hover {

        background: #f9f9f9;

        color: var(--primary-color);

    }

}
