/* TOPBAR */
.topbar {
    background: var(--color-primary);
    /* Dark Blue */
    color: white;
    /* White text */
    height: 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    /* Above navbar */
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.topbar-info {
    display: flex;
    gap: 1.5rem;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.topbar-item:hover {
    opacity: 1;
}

.topbar-socials {
    display: flex;
    gap: 1rem;
}

.topbar-social-link {
    color: white;
    opacity: 0.7;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.topbar-social-link:hover {
    opacity: 1;
    color: var(--color-brand-light);
}

/* NAVIGATION (Adjusted for Topbar) */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 40px;
    /* Pushed down by topbar */
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: top 0.3s ease;
    /* For potential sticky interactions */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-brand);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-main);
}

/* FOOTER */
.footer {
    background: #0f172a;
    /* Slate 900 for deep contrast */
    color: #94a3b8;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-brand-light);
    /* Better hover color */
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Softer border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}