.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
    z-index: 1000;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 150px;
    text-decoration: none;
}

.logo-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    border: 1px solid rgba(139, 0, 0, 0.16);
    border-radius: 8px;
    background: rgba(193, 154, 107, 0.14);
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-mark img[src="images/logo.png"] {
    padding: 6px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s;
}

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

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(193, 154, 107, 0.14);
    border: 1px solid rgba(139, 0, 0, 0.14);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    transition: 0.3s;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
}

.theme-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.moon-icon {
    display: none;
}

body.dark .sun-icon {
    display: none;
}

body.dark .moon-icon {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
}
