/* Fullscreen Menu Styles - Inspired by inspiration folder */

/* Header */
.black {background: #000;}
.header-new {
    position: fixed;
    top: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    left: 0;
    width: 100%;
    z-index: 10002;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.header-new.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
}

.header-logo-new {
    z-index: 10001;
}

.header-logo-new img {
    height: 40px;
    width: auto;
}

/* Menu Icon (Hamburger) */
.menu-icon-new {
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 10001;
}

.menu-icon-new span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon-new span:nth-child(1) {
    top: 0;
}

.menu-icon-new span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon-new span:nth-child(3) {
    bottom: 0;
}

/* Menu icon active state (X) */
.menu-icon-new.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-icon-new.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon-new.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Navigation Overlay */
.nav-overlay-new {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111517;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-overlay-new.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Navigation Container */
.nav-container-new {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-container-new.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Menu Items */
.menu-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-list-new li {
    margin: 20px 0;
}

.menu-list-new a {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease, opacity 0.5s ease;
    opacity: 0;
}

.nav-container-new.active .menu-list-new a {
    opacity: 1;
}

.menu-list-new li:nth-child(1) a {
    transition-delay: 0.1s;
}

.menu-list-new li:nth-child(2) a {
    transition-delay: 0.2s;
}

.menu-list-new li:nth-child(3) a {
    transition-delay: 0.3s;
}

/* Hover effect - dim others, keep hovered at full opacity */
.nav-container-new.active .menu-list-new:hover a {
    opacity: 0.5;
}

.nav-container-new.active .menu-list-new a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .header-new {
        padding: 15px 20px;
    }

    .header-logo-new img {
        height: 32px;
    }

    .menu-list-new a {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .menu-list-new li {
        margin: 15px 0;
    }
}

/* Hide old header when new menu is used */
.main-header {
    display: none !important;
}
