@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@500;700&display=swap');

:root {
    --primary-color: #FF6B1A;
}

/* Header Styling */
.yi-header-fixed {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 64px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yi-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff !important;
    text-decoration: none !important;
    position: relative;
    z-index: 10001;
}

.yi-logo span {
    color: var(--primary-color) !important;
}

.yi-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.yi-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.yi-nav ul li a {
    color: #888888;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.yi-nav ul li a:hover,
.yi-nav ul li.current-menu-item a,
.yi-nav ul li.current_page_item a {
    color: var(--primary-color);
}

.yi-contact-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.yi-contact-btn:hover {
    background-color: #e04e0f;
    color: #ffffff;
}

/* Mobile Menu Toggle */
.yi-menu-toggle {
    display: none;
    background: transparent !important;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10001;
    padding: 10px;
}

.yi-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .yi-header-fixed {
        padding: 15px 20px;
    }

    .yi-menu-toggle {
        display: block;
    }

    .yi-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 10000;
        padding-top: 60px;
        box-sizing: border-box;
    }

    .yi-nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .yi-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0;
        position: static;
        top: auto;
        transform: none;
    }

    .yi-nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .yi-nav ul li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .yi-nav ul li a {
        display: block;
        padding: 25px 0;
        font-size: 18px;
        color: #dddddd;
        letter-spacing: 3px;
    }

    .yi-contact-btn {
        margin-top: 30px;
        width: 80%;
        text-align: center;
        padding: 18px 0;
        font-size: 15px;
    }

    /* Hamburger to Close Icon */
    .yi-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .yi-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .yi-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}