﻿/* ===== Fixed Header ===== */
.hns-header {
    position: fixed; /* Stick on top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(90deg, #ffe6f0, #ffcce0);
    box-shadow: 0 3px 20px rgba(0,0,0,0.15);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

/* Shrink header on scroll */
body.scrolled .hns-header {
    padding: 10px 50px;
    background: linear-gradient(90deg, #ffcce0, #ffe6f0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Prevent content from hiding under header */
body {
    margin: 0;
    padding-top: 130px; /* Adjust based on header height */
}

/* Header inner */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 130px;
    width: auto;
    object-fit: contain;
    margin-right: 20px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.brand-line1 {
    font-size: 50px;
    color: #6a1b9a;
    text-transform: uppercase;
}

.brand-line2 {
    font-size: 32px;
    color: #ff4081;
    font-weight: 600;
}

/* Navigation */
.nav .menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

    .nav .menu li a {
        text-decoration: none;
        color: #6a1b9a;
        font-size: 22px;
        font-weight: 600;
        position: relative;
        padding: 6px 10px;
        transition: all 0.3s ease;
    }

        .nav .menu li a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0;
            height: 3px;
            background: #ff4081;
            transition: width 0.3s ease-in-out;
        }

        .nav .menu li a:hover {
            color: #ff4081;
        }

            .nav .menu li a:hover::after {
                width: 100%;
            }

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
}

    .nav-toggle .bar {
        width: 100%;
        height: 3px;
        background: #6a1b9a;
        transition: 0.3s;
    }

@media (max-width: 768px) {
    .nav .menu {
        flex-direction: column;
        display: none;
        background: linear-gradient(180deg, #ffe6f0, #ffcce0);
        position: absolute;
        top: 100%;
        right: 0;
        width: 240px;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

        .nav .menu.show {
            display: flex;
        }

    .nav-toggle {
        display: flex;
    }
}

/* Cursor underline */
.cursor-line {
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: #ff4081;
    width: 0;
    transition: all 0.3s ease;
}
