/* Container setup */
.prm-container-0b001c1e {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000;
}

/* Background layers */
.prm-backgrounds-0b001c1e {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.prm-bg-layer-0b001c1e {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.02); /* Slight scale down to normal on active feels premium */
}

.prm-bg-layer-0b001c1e.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 5s linear; /* Slow zoom when active */
}

/* Overlay for text legibility */
.prm-overlay-0b001c1e {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

/* Navigation layout */
.prm-nav-0b001c1e {
    position: relative;
    z-index: 3;
    padding-left: 10vw;
    width: 40%;
    max-width: 500px;
}

.prm-menu-list-0b001c1e {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prm-menu-item-0b001c1e {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #ffffff;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 5px;
    cursor: pointer;
}

/* Hover dimming logic handled largely by JS classes, but base setup here */
.prm-menu-list-0b001c1e.has-hover .prm-menu-item-0b001c1e:not(.is-hovered) {
    opacity: 0.3;
}

/* Animated Underline */
.prm-menu-item-0b001c1e::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.prm-menu-item-0b001c1e.is-hovered::after {
    transform: scaleX(1);
}

/* Responsive degradation */
@media (max-width: 1024px) {
    .prm-nav-0b001c1e {
        width: 100%;
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

@media (max-width: 768px) {
    .prm-container-0b001c1e {
        height: auto;
        min-height: 80vh;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 10vh;
    }
    
    .prm-overlay-0b001c1e {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    }

    .prm-nav-0b001c1e {
        padding-left: 20px;
    }
    
    .prm-menu-list-0b001c1e {
        gap: 1rem;
    }
    
    .prm-menu-item-0b001c1e {
        font-size: 2.5rem;
    }
}