/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Transparent Floating Header */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    bottom: 20px;
    z-index: 999;
    transition: all 0.3s ease;
}

/* Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    position: relative;
    transition: 0.3s ease;
}

/* Underline hover animation */
.nav-menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #fff;
    bottom: -5px;
    left: 0;
    transition: 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 900px) {

    .main-header {
        padding: 20px 30px;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        right: 30px;
        flex-direction: column;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(12px);
        padding: 20px;
        border-radius: 12px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}