
/* Global Navbar - Perfectly Integrated */
.global-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 5%;
    background: #111827;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99999;
}

.global-navbar .logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.global-navbar .logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ef4444;
}

.global-navbar .highlight { color: #ef4444; }

.global-navbar .nav-links {
    list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; align-items: center;
}

.global-navbar .nav-links a {
    color: #d1d5db; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s;
}

.global-navbar .nav-links a:hover { color: white; }

.global-navbar .social-links {
    display: flex; gap: 1rem; align-items: center;
}

.global-navbar .social-links a {
    color: #d1d5db; font-size: 1.1rem; transition: all 0.3s;
}

.global-navbar .social-links a:hover {
    color: #ef4444; transform: translateY(-2px);
}

.global-navbar .options-menu {
    position: relative; margin-left: 15px; display: flex; align-items: center;
}

.global-navbar .options-icon {
    font-size: 1.3rem; cursor: pointer; color: #d1d5db; padding: 5px;
}

.global-navbar .dropdown-content {
    display: none; position: absolute; right: 0; top: 120%; background: #1f2937;
    min-width: 200px; border: 1px solid #374151; border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7); z-index: 100000; padding: 15px 0;
}

.global-navbar .dropdown-content h4 {
    padding: 0 20px 10px 20px; border-bottom: 1px solid #374151; margin: 0 0 10px 0;
    color: #fff; font-family: 'Outfit', sans-serif;
}

.global-navbar .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.global-navbar .hamburger span {
    display: block; width: 25px; height: 3px; background-color: white; transition: all 0.3s;
}

@media (max-width: 900px) {
    .global-navbar .nav-links { display: none; }
    .global-navbar .hamburger { display: flex; }
}

/* Focus mode hiding for Pomodoro/Kronometre */
body.in-focus .global-navbar,
#mainBg.in-focus ~ .global-navbar,
.in-focus .global-navbar {
    display: none !important;
}
