/* style2.css - Modified Navigation Section */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif
}

body {
    background-image: url('https://pixelz.cc/wp-content/uploads/2024/03/black-myth-wukong-monkey-king-sun-wukong-uhd-4k-wallpaper-2048x1152.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #eeeeee;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    color: #fff;
    min-height: 100vh; /* Đảm bảo body chiếm ít nhất toàn bộ chiều cao của viewport */
    display: flex; /* Biến body thành flex container */
    flex-direction: column; /* Sắp xếp các mục con theo chiều dọc */
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    padding: 20px 0; /* Changed from 10px 0 */
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}

.logo {
     width: 150px;
}

.logo img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center; /* Added for vertical alignment */
    flex-grow: 1; /* Added to allow menu to grow */
    justify-content: flex-end; /* Added to push menu to the right */
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
     color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px; 
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap; 
}

.nav-menu a:hover {
    color: #f9d16b;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    border-radius: 10px;
    margin-top: 30px;
    animation: fadeIn 1s ease;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #f9d16b;
    background-color: rgba(249, 209, 107, 0.2);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(249, 209, 107, 0.3);
}

.btn:hover {
    background-color: rgba(249, 209, 107, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(249, 209, 107, 0.5);
}

.table-of-contents {
    position: sticky;
    top: 20px;
    width: 250px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(249, 209, 107, 0.3);
    margin-right: 30px;
    float: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.table-of-contents h3 {
    color: #f9d16b;
    font-family: 'Cinzel', serif;
    margin-bottom: 15px;
    font-size: 22px;
    text-align: center;
    border-bottom: 1px solid rgba(249, 209, 107, 0.3);
    padding-bottom: 10px;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.table-of-contents a:hover {
    color: #f9d16b;
    transform: translateX(5px);
}

.table-of-contents i {
    margin-right: 10px;
    color: #f9d16b;
}
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.content-inner {
    margin-left: 280px;
}

.guide-title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #f9d16b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.guide-section {
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.7);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #f9d16b;
    transition: transform 0.3s ease;
}

.guide-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.guide-section h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #f9d16b;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(249, 209, 107, 0.3);
}

.guide-section h3 i {
    margin-right: 15px;
    font-size: 24px;
}

.guide-section p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
}

.guide-section li {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
}

.guide-section ul {
    padding-left: 20px;
    list-style-type: none;
}

.guide-section ul li::before {
    content: "➤";
    color: #f9d16b;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

.guide-image {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(249, 209, 107, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #f9d16b;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    background: rgba(249, 209, 107, 0.2);
    color: #fff;
    border: 2px solid #f9d16b;
    border-radius: 5px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.cta-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.cta-btn:hover {
    background: rgba(249, 209, 107, 0.4);
    transform: translateY(-3px);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
    margin-top: 50px;
    position: relative;
    z-index: 1;
}
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo video phủ toàn bộ khu vực */
    z-index: -1; /* Đặt video phía sau nội dung */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 20;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}
@media screen and (max-width: 1024px) {
    .table-of-contents {
        float: none;
        width: 100%;
        position: relative;
        margin-bottom: 30px;
        margin-right: 0;
    }
    .side-nav {
        left: 15px;
    }

    .content-inner {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    header {
        flex-direction: column; /* Changed from column to row for consistency with styles.css */
        align-items: flex-start;
    }

    .logo {
    margin-bottom: 15px;
    }
    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: center;
        right: -100%;
        transition: all 0.5s ease;
        position: fixed;
        top: 0;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        justify-content: center;
        z-index: 15;
    }
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0; /* Adjusted from 10px 15px for consistency */
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .guide-title {
        font-size: 28px;
    }

    .guide-section h3 {
        font-size: 22px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}
.guide-section:nth-child(1) { animation-delay: 0.1s; }
.guide-section:nth-child(2) { animation-delay: 0.2s; }
.guide-section:nth-child(3) { animation-delay: 0.3s; }
.guide-section:nth-child(4) { animation-delay: 0.4s; }
.guide-section:nth-child(5) { animation-delay: 0.5s; }
.guide-section:nth-child(6) { animation-delay: 0.6s; }
.guide-section:nth-child(7) { animation-delay: 0.7s; }
.guide-section:nth-child(8) { animation-delay: 0.8s; }
.guide-section:nth-child(9) { animation-delay: 0.9s; }