/* Nasifashionhouse Hero Section - Dark Mode Override */
.nasi-hero-wrapper {
    position: fixed;
    /* Fixed for shutter effect */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #080808;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 0;
    /* Behind content */
}

/* Shutter Effect Wrapper */
.nasi-nav.inner-page {
    position: sticky;
    top: 0;
    background-color: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 60px;
    margin: 0;
    z-index: 2000;
}

@media (max-width: 1024px) {
    .nasi-nav.inner-page {
        padding: 15px 30px;
    }
}
.main-content-wrapper {
    position: relative;
    z-index: 10;
    background-color: #fff;
    margin-top: 100vh;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.nasi-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 2000;
    background-color: transparent;
    transition: background-color 0.4s ease, padding 0.3s ease, backdrop-filter 0.4s ease;
}

.nasi-nav-actions {
    display: none; /* Hidden on Desktop */
    align-items: center;
    gap: 15px;
    z-index: 102;
}

.nasi-nav.scrolled {
    background-color: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nasi-logo {
    font-family: 'Bodoni Moda', serif;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    text-transform: lowercase;
    z-index: 102;
    color: #ffffff;
}

/* Icons hidden on desktop, visible only in responsive mode via @media query */

.nasi-nav-actions a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nasi-nav-actions a:hover {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.8);
}

.nasi-mobile-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 102;
    margin-left: 10px;
}

.nasi-menu {
    display: flex;
    gap: 40px;
}

.nasi-menu a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nasi-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nasi-menu a:hover {
    color: #fff;
}

.nasi-menu a:hover::after {
    width: 100%;
}

/* Updated grid for nasifashionhouse content */
.nasi-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.2fr;
    align-items: center;
    padding: 0 60px;
    height: 100%;
    position: relative;
}

.nasi-left {
    padding-right: 20px;
    z-index: 10;
}

/* Default state: Hidden */
.nasi-left p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 350px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
    /* Fallback */
}

/* Animated state */
.nasi-hero-wrapper.hero-active .nasi-left p {
    animation: fadeInUp 1s ease-out 0s forwards;
}

.nasi-read-more {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    /* Hidden */
    transform: translateY(30px);
    display: inline-block;
}

.nasi-hero-wrapper.hero-active .nasi-read-more {
    animation: fadeInUp 1s ease-out 0s forwards;
}

.nasi-center {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nasi-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: #D18B47;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -40%) scale(0);
    /* Start scaled down */
    z-index: 1;
    opacity: 0;
}

.nasi-hero-wrapper.hero-active .nasi-circle {
    animation: circleEntrance 1s cubic-bezier(0.2, 1, 0.3, 1) 0s forwards;
}

.nasi-model-img {
    height: 115vh;
    width: auto;
    position: absolute;
    bottom: -10vh;
    left: 50%;
    transform: translateX(-35%) translateY(100px);
    /* Start down */
    z-index: 2;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
}

.nasi-hero-wrapper.hero-active .nasi-model-img {
    animation: modelEntrance 1s cubic-bezier(0.2, 1, 0.3, 1) 0s forwards;
}

.nasi-right {
    z-index: 10;
    display: flex;
    justify-content: flex-start;
}

.nasi-right h1 {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 5rem;
    line-height: 1.1;
    color: #fff;
    text-transform: lowercase;
    opacity: 0;
    transform: translateY(30px);
}

.nasi-hero-wrapper.hero-active .nasi-right h1 {
    animation: fadeInUp 1s ease-out 0s forwards;
}

.nasi-arrows {
    display: none;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes circleEntrance {
    0% {
        transform: translate(-35%, -40%) scale(0);
        opacity: 0;
    }

    100% {
        transform: translate(-35%, -40%) scale(1);
        opacity: 1;
    }
}

@keyframes modelEntrance {
    0% {
        transform: translateX(-35%) translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(-35%) translateY(0);
        opacity: 1;
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* Responsive */
@media (max-width: 1024px) {
    .nasi-nav {
        display: flex;
        justify-content: space-between;
        padding: 15px 20px;
        top: 0;
        left: 0;
        margin: 0;
    }

    .nasi-nav.inner-page {
        padding: 15px 20px;
        margin: 0;
        top: 0;
    }

    .nasi-nav-actions {
        display: flex;
        order: 2;
    }
    
    .nasi-logo {
        order: 1;
        font-size: 1.4rem;
    }

    .nasi-nav.scrolled {
        padding: 12px 20px;
    }

    .nasi-mobile-toggle {
        display: block;
        transition: transform 0.3s ease;
    }

    .nasi-mobile-toggle.active {
        transform: rotate(90deg);
    }

    .nasi-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 101;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        gap: 25px;
    }

    .nasi-menu.active {
        visibility: visible;
        opacity: 1;
    }

    .nasi-menu a {
        font-size: 1.8rem;
        font-family: 'Bodoni Moda', serif;
        font-weight: 400;
        letter-spacing: 1px;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nasi-menu.active a {
        transform: translateY(0);
        opacity: 1;
    }

    /* Staggered animation for menu items */
    .nasi-menu.active a:nth-child(1) { transition-delay: 0.1s; }
    .nasi-menu.active a:nth-child(2) { transition-delay: 0.2s; }
    .nasi-menu.active a:nth-child(3) { transition-delay: 0.3s; }
    .nasi-menu.active a:nth-child(4) { transition-delay: 0.4s; }
    .nasi-menu.active a:nth-child(5) { transition-delay: 0.5s; }
    .nasi-menu.active a:nth-child(6) { transition-delay: 0.6s; }

    .nasi-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 30px 40px;
        align-content: center;
    }

    .nasi-center {
        order: -1;
        height: 50vh;
        margin-bottom: 0;
        width: 100%;
    }

    .nasi-left {
        order: 2;
        padding-right: 0;
    }

    .nasi-right {
        order: 1;
        justify-content: center;
        margin-bottom: 20px;
    }

    /* Adjust start states for mobile */
    .nasi-circle {
        width: 300px;
        height: 300px;
        transform: translate(-50%, -50%) scale(0);
    }

    .nasi-hero-wrapper.hero-active .nasi-circle {
        animation-name: circleEntranceMobile;
    }

    .nasi-model-img {
        height: 60vh;
        bottom: 0;
        transform: translateX(-50%) translateY(50px);
    }

    .nasi-hero-wrapper.hero-active .nasi-model-img {
        animation-name: modelEntranceMobile;
    }

    .nasi-right h1 {
        font-size: 3rem;
        margin: 0 auto;
    }

    .nasi-left p {
        margin: 0 auto 20px;
        font-size: 0.9rem;
    }
}

@keyframes circleEntranceMobile {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes modelEntranceMobile {
    0% {
        transform: translateX(-50%) translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .nasi-nav {
        padding: 12px 15px;
    }

    .nasi-nav.inner-page {
        padding: 12px 15px;
    }

    .nasi-nav.scrolled {
        padding: 10px 15px;
    }

    .nasi-logo {
        font-size: 1.2rem;
    }

    .nasi-circle {
        width: 280px;
        height: 280px;
    }

    .nasi-model-img {
        height: 55vh;
        transform: translateX(-50%) translateY(50px);
    }

    .nasi-hero-wrapper.hero-active .nasi-model-img {
        transform: translateX(-50%) translateY(0);
    }

    .nasi-right h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 380px) {
    .nasi-right h1 {
        font-size: 2.2rem;
    }

    .nasi-circle {
        width: 240px;
        height: 240px;
    }

    .nasi-model-img {
        height: 50vh;
    }
}