@import url('https://fonts.cdnfonts.com/css/din-condensed');
@import url('https://fonts.cdnfonts.com/css/din-alternate');

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    overflow: visible;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    position: relative;
    z-index: 1001;
}

.logo {
    display: block;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.chain {
    position: absolute;
    top: 60px;
    left: 18px;
    height: 50px;
    width: auto;
    z-index: 999;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'DIN Alternate', 'DIN Condensed', sans-serif;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a.active {
    color: var(--secondary);
    font-weight: 700;
}

.nav-divider {
    color: var(--gray);
    font-weight: 300;
    font-size: 0.85rem;
    user-select: none;
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .chain {
        top: 50px;
        height: 40px;
    }

    .nav-links {
        gap: 0.35rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }
}

/* Hamburger Button */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    margin-left: auto;
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        gap: 0.75rem;
        z-index: 999;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-divider {
        display: none;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 0;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
}
