/**********************************/
/********** General CSS ***********/
/**********************************/
body {
    color: #ffde59;
    font-family: 'Merriweather', serif;
    font-weight: 400;
    background: #202020;
}

a {
    color: #ffde59;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #ffffff;
    outline: none;
    text-decoration: none;
}

p {
    color: #ffde59;
}

.logo-img {
    height: 60px;
    width: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffde59;
    font-family: 'Merriweather', serif;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #202020;
    color: #ffde59;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #ffde59;
    left: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    padding-top: 12px;
    color: #ffde59;
}

/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
#nav {
    position: absolute;
    width: 100%;
    top: 30px;
    z-index: 1;
}

#nav.nav-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background: rgba(32, 32, 32, .95) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
}

#nav .navbar {
    margin: 0 auto;
    padding: 0 15px;
    background: transparent !important;
}

#nav .navbar .navbar-brand {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffde59;
}

#nav .navbar-light .nav-link {
    position: relative;
    color: #ffde59;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    font-family: 'Merriweather', serif;
}

#nav .navbar-light .nav-link::after {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    left: 9px;
    bottom: 0;
    background: #ffde59;
    opacity: 0;
}

#nav .navbar-light .nav-link:hover::after,
#nav .navbar-light .nav-link.active::after {
    opacity: 1;
}

#nav .navbar-light .nav-link:focus,
#nav .navbar-light .nav-link:hover,
#nav .navbar-light .nav-link.active {
    color: #ffffff;
}

@media(min-width: 992px) {
    #nav .navbar {
        max-width: 1140px;
    }
}

@media(max-width: 767.98px) {
    #nav {
        top: 0;
    }
    #nav .navbar {
        background: #202020 !important;
    }
    
    #nav .navbar-light .nav-link:hover::after,
    #nav .navbar-light .nav-link.active::after {
        opacity: 0;
    }
}

/**********************************/
/******* Section Header CSS *******/
/**********************************/
.section-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto 45px auto;
    padding-bottom: 20px;
}

.section-header::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    left: calc(50% - 25px);
    bottom: 10px;
    background: #ffde59;
}

.section-header::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #ffffff;
}

.section-header p {
    margin: 0;
    color: #ffde59;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
}

.section-header h1 {
    margin: 0;
    color: #ffde59;
    font-size: 70px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
}

@media (max-width: 575.98px) {
    .section-header h1 {
        font-size: 45px;
    }
}

/**********************************/
/********** Slideshow CSS **********/
/**********************************/
#slideshow-section {
    position: relative;
    padding: 30px 0;
    background: #202020;
    margin-top: 100px; /* Tăng từ 60px lên 100px để hạ thấp thêm */
}

.slideshow-container {
    position: relative;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
    border-radius: 5px;
    background: #333333;
    width: 100%;
    max-width: 300px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #ffde59;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #ffde59;
}

/**********************************/
/********** Video Section CSS **********/
/**********************************/
#video-section {
    position: relative;
    padding: 30px 0;
    background: #202020;
}

.container {
    padding: 0;
    max-width: 960px;
}

.video-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    background: transparent;
}

.video-cell {
    padding: 0 5px;
    vertical-align: top;
    border: none;
    background: transparent;
}

.demo-video {
    position: relative;
    height: 500px;
    max-width: 300px;
    overflow: hidden;
    border-radius: 5px;
    background: #333333;
}

.demo-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

@media (max-width: 767.98px) {
    .video-table {
        display: block;
        max-width: 300px;
        margin: 0 auto;
    }
    .video-cell {
        display: block;
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .demo-video {
        max-width: 300px;
        margin: 0 auto;
        display: block;
        height: 500px;
    }
}

/************************************/
/*********** News CSS ***************/
/************************************/
#news {
    position: relative;
    padding: 90px 0 60px 0;
    background: #202020;
    margin-bottom: 45px;
}

#news .news-single {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
    text-align: center;
    background: #202020;
    border: 1px solid #555555;
    border-radius: 5px;
    transition: .3s;
    min-height: 150px;
}

#news .news-single:hover {
    background: #ffde59;
    border-color: #202020;
    box-shadow: 0 0 10px rgba(255, 222, 89, 0.5);
}

#news .news-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: #ffde59;
    margin-bottom: 10px;
}

#news .news-content p {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
}

#news .news-content a {
    color: #ffde59;
    text-decoration: underline;
}

#news .news-content a:hover {
    color: #ffffff;
}

/**********************************/
/********** Contact CSS ***********/
/**********************************/
#contact {
    position: relative;
    width: 100%;
}

#contact .container-fluid,
#contact .container-fluid .col-md-6 {
    padding: 0;
}

#contact .container-fluid .row {
    margin: 0;
}

#contact .container-fluid .col-md-6:first-child {
    min-height: 300px;
    background: url(../img/contact-bg.jpg) center center no-repeat;
    background-size: cover;
}

#contact .contact-info {
    position: relative;
    width: 100%;
    padding: 45px 15px;
    background: #202020;
}

@media(min-width: 768px) {
    #contact .contact-info {
        padding: 45px;
    }
}

#contact .contact-info h2 {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

#contact .contact-info h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #ffffff;
}

#contact .contact-info p {
    font-size: 18px;
    font-weight: 400;
}

#contact .contact-info h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}

#contact .contact-info h3 i {
    width: 20px;
    margin-right: 5px;
}

#contact .contact-info button.btn {
    position: relative;
    margin: 15px 0;
    color: #ffde59;
    letter-spacing: 3px;
    border: 2px solid #ffde59;
    background: #202020;
    transition: .3s;
}

#contact .contact-info button.btn:hover {
    color: #202020;
    background: #ffffff;
}

#contact .social {
    position: relative;
    width: 100%;
}

#contact .social a {
    display: inline-block;
    margin: 10px 10px 0 0;
    width: 40px;
    height: 40px;
    padding: 3px 0;
    text-align: center;
    font-size: 20px;
    border: 2px solid #ffde59;
    border-radius: 4px;
}

#contact .social a i {
    color: #ffde59;
}

#contact .social a:hover {
    background: #ffffff;
}

#contact .social a:hover i {
    color: #202020;
}

/**********************************/
/********** Footer CSS ************/
/**********************************/
#footer {
    position: relative;
    padding: 30px 0;
    background: #151515;
}

#footer .col-md-6:first-child p {
    text-align: left;
}

#footer .col-md-6:last-child p {
    text-align: right;
}

@media (max-width: 767.98px) {
    #footer .col-md-6:first-child p,
    #footer .col-md-6:last-child p {
        text-align: center;
    }
}

#footer p {
    color: #ffde59;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

#footer p a {
    font-weight: 700;
}

#footer p a:hover {
    color: #ffffff;
}