﻿.topbar {
    width: 100%;
    height: 70px;
    background-color: var(--theme-primary);
    color: var(--theme-navigation-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.topbar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .topbar-logo img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        object-position: 50% 60%;
        border: none;
        outline: none;
        box-shadow: none;
    }

    .topbar-logo h2 {
        font-size: 22px;
        margin: 0;
        color: var(--theme-navigation-color);
    }

/* Navigation links */
.topbar-nav {
    display: flex;
    gap: 30px;
}

    .topbar-nav a {
        font-size: 16px;
        font-weight: 600;
        color: var(--theme-navigation-color);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .topbar-nav a:hover {
            color: var(--theme-navigation-hover);
            text-decoration: dotted !important;
        }

        .topbar-nav a.selected {
            color: var(--theme-navigation-hover1);
        }

/* Hamburger (for mobile toggle) */
.hamburger {
    display: none;
}

.footer {
    width: 100%;
    background-color: var(--theme-primary);
    color: var(--theme-navigation-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 500;
    font-size: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .footer-logo img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        object-position: 50% 60%;
        border: none;
        outline: none;
        box-shadow: none;
    }

    .footer-logo h2 {
        font-size: 20px;
        margin: 0;
        color: var(--theme-navigation-color);
    }

.footer-info {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}

@media (max-width: 800px) 
{
    .topbar {
        flex-wrap: wrap;
        height: auto;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .topbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 10px;
    }

        .topbar-nav.active {
            display: flex;
        }

    .hamburger {
        display: block;
        font-size: 26px;
        background: none;
        border: none;
        color: var(--theme-navigation-color);
        cursor: pointer;
        margin-left: auto;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-nav {
        justify-content: center;
        padding: 10px 0;
    }

    .footer-logo {
        justify-content: center;
    }
}
