﻿/*==================================================
FTH LAYOUT V2
==================================================*/

/*==========================
HEADER
==========================*/

.fth-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}

/*==========================
TOPBAR
==========================*/

.fth-topbar {
    background: #6B1F1F;
    color: #fff;
    height: 42px;
    display: flex;
    align-items: center;
    font-size: .9rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .topbar-left span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .topbar-left i {
        color: #FFD54F;
    }

.topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

    .topbar-right a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        transition: .25s;
    }

        .topbar-right a:hover {
            background: rgba(255,255,255,.15);
        }

/*==========================
NAVBAR
==========================*/

.fth-header .navbar {
    background: #FFF;
    min-height: 82px;
    padding: 12px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/*==========================
LOGO
==========================*/

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #7B1E1E;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: .85rem;
    color: #777;
}

/*==========================
MENU
==========================*/

.navbar-nav {
    gap: 10px;
}

    .navbar-nav .nav-link {
        color: #333;
        font-weight: 600;
        padding: .75rem 1rem;
        border-radius: 30px;
        transition: .25s;
    }

        .navbar-nav .nav-link:hover {
            background: #7B1E1E;
            color: #FFF;
        }

/*==========================
RIGHT
==========================*/

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-hotline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7B1E1E;
    text-decoration: none;
    font-weight: 700;
}

    .header-hotline i {
        color: #D97706;
    }

.header-right .btn {
    border-radius: 40px;
    padding: .7rem 1.6rem;
    font-weight: 700;
}

/*==========================
TOGGLER
==========================*/

.navbar-toggler {
    border: none;
    font-size: 2rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

/*==========================
MAIN
==========================*/

.main-content {
    padding-top: 124px;
}

/*==================================================
FOOTER
==================================================*/

.fth-footer {
    background: #222;
    color: #DDD;
    padding: 50px 0;
}

    .fth-footer h5 {
        color: #FFF;
    }

    .fth-footer a {
        color: #DDD;
        text-decoration: none;
    }

        .fth-footer a:hover {
            color: #FFD54F;
        }

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px) {

    .fth-topbar {
        display: none;
    }

    .main-content {
        padding-top: 82px;
    }

    .navbar-collapse {
        margin-top: 20px;
        background: #FFF;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
        padding: 20px;
    }

    .navbar-nav {
        gap: 0;
    }

        .navbar-nav .nav-link {
            text-align: center;
            margin-bottom: 8px;
        }

    .header-right {
        flex-direction: column;
        margin-top: 20px;
    }

    .header-hotline {
        justify-content: center;
    }

    .header-right .btn {
        width: 100%;
    }
}

@media(max-width:768px) {

    .logo-img {
        height: 50px;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-subtitle {
        display: none;
    }
}
/*==================================================
FOOTER
==================================================*/

.fth-footer {
    background: linear-gradient(135deg,#7B1E1E 0%,#A52A2A 65%,#C46A08 100%);
    color: #fff;
    margin-top: 80px;
}

    .fth-footer a {
        color: rgba(255,255,255,.92);
        text-decoration: none;
        transition: .25s;
    }

        .fth-footer a:hover {
            color: #FFD54F;
        }

.footer-top {
    padding: 70px 0 45px;
}

.footer-logo {
    max-width: 110px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFD54F;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255,255,255,.9);
    line-height: 1.8;
}

.footer-list,
.footer-contact,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-list li,
    .footer-contact li,
    .footer-links li {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
    }

    .footer-list i,
    .footer-contact i {
        color: #FFD54F;
        margin-right: 10px;
        margin-top: 3px;
        min-width: 18px;
    }

    .footer-links a {
        display: inline-block;
        padding: 2px 0;
    }

.footer-social {
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}

    .footer-social a {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(255,255,255,.12);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.15rem;
    }

        .footer-social a:hover {
            background: #FFD54F;
            color: #7B1E1E;
            transform: translateY(-3px);
        }

.footer-bottom {
    padding: 22px 0;
    font-size: .95rem;
    color: rgba(255,255,255,.85);
}

/*=========================================
TABLET
=========================================*/

@media (max-width:991.98px) {

    .footer-top {
        padding: 55px 0 35px;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-logo {
        margin: auto auto 15px;
        display: block;
    }

    .footer-social {
        margin-top: 10px;
    }
}

/*=========================================
MOBILE
=========================================*/

@media (max-width:767.98px) {

    .footer-top {
        padding: 45px 0 30px;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-description {
        text-align: center;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 25px;
    }

    .footer-logo {
        max-width: 90px;
    }

    /* Hai cột Liên hệ và Liên kết */
    .footer-contact-col,
    .footer-links-col {
        width: 50%;
        float: left;
        margin-top: 20px;
    }

    .footer-social {
        gap: 12px;
    }

        .footer-social a {
            width: 42px;
            height: 42px;
        }

    .footer-bottom {
        text-align: center;
        line-height: 1.8;
    }

        .footer-bottom .text-lg-end {
            margin-top: 8px;
        }
}