@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@500;600&display=swap');

.navigate {
    --main-color: #ecc7c7;
    --gold-accent: #efc109;
    --gold-light: rgb(255, 232, 180);
    --maroon-bg: #741717;
}

.navigate a {
    text-decoration: none;
}

.navigate ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigate header {
    z-index: 1000;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #741717;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.navigate .container3 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navigate nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    background: #741717;
    position: relative;
}

.navigate .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.navigate .ok {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
}

.navigate .nav-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.navigate .nav-list > li {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    margin: 0;
}

.navigate .nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgb(255, 232, 180);
    padding: 0 11px;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease;
    border-radius: 6px;
    height: 42px;
    line-height: 42px;
}

.navigate .nav-list > li > a i {
    font-size: 11px;
    margin-left: 2px;
    color: #efc109;
}

.navigate .nav-list > li > a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.navigate .sub-menu {
    width: 210px;
    display: block;
    position: absolute;
    top: 75px;
    left: 0;
    border-top: 3px solid #efc109;
    background-color: #741717;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-radius: 0 0 8px 8px;
    z-index: 1100;
    padding: 6px 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
}

.navigate .sub-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.navigate .sub-menu li a {
    display: block;
    color: rgb(255, 232, 180);
    padding: 10px 18px;
    font-family: 'Kanit', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.navigate .sub-menu li a:hover {
    color: #ffffff;
    background: rgba(239, 193, 9, 0.2);
    padding-left: 22px;
}

.navigate .nav-list > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.navigate .menu-icons {
    display: none;
    align-items: center;
    justify-content: center;
    color: rgb(255, 232, 180);
    font-size: 24px;
    cursor: pointer;
    z-index: 1500;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.navigate .menu-icons:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navigate .fa-times {
    display: none;
}

@media screen and (min-width: 1081px) and (max-width: 1280px) {
    .navigate .container3 {
        padding: 0 12px;
    }
    .navigate .nav-list > li > a {
        padding: 0 7px;
        font-size: 12.5px;
    }
    .navigate .ok {
        height: 52px;
    }
}

@media screen and (max-width: 1080px) {
    .navigate .container3 {
        padding: 0 16px;
    }

    .navigate nav {
        height: 70px;
    }

    .navigate .ok {
        height: 50px;
    }

    .navigate .menu-icons {
        display: flex;
    }

    .navigate .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        height: calc(100vh - 70px);
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        background-color: #741717;
        z-index: 1000;
        display: none;
        overflow-y: auto;
        padding: 20px 24px 80px 24px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .navigate .nav-list > li {
        height: auto;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navigate .nav-list > li > a {
        width: 100%;
        height: auto;
        line-height: normal;
        padding: 14px 10px;
        font-size: 16px;
        justify-content: space-between;
    }

    .navigate .sub-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.25);
        border-top: none;
        border-left: 3px solid #efc109;
        margin: 4px 0 10px 10px;
        padding: 4px 0;
        border-radius: 4px;
        pointer-events: auto;
    }

    .navigate .sub-menu li a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .navigate nav.active .fa-times {
        display: block;
    }

    .navigate nav.active .fa-bars {
        display: none;
    }

    .navigate nav.active .nav-list {
        display: flex;
    }
}
