/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* === HEADER === */
header {
    background: #0d6efd;
    color: white;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.logo-area img {
    height: 40px;
    margin-right: 0.75rem;
}

.logo-area span {
    font-size: 1.5rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* === NAVBAR === */
.main-navbar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 998;
    padding: 0.75rem 1rem;
    margin-top: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

.spacer {
    height: 80px;
}

.navbar-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.2s;
}

.navbar-menu li a:hover {
    color: #007bff;
}

.navbar-menu li a.active {
    border-bottom: 2px solid #0d6efd;
    color: #0d6efd;
    font-weight: bold;
}

.navbar-menu li a.active::after {
    content: " ⭐";
    font-size: 0.9rem;
    margin-left: 4px;
    color: gold;
}

/* === RESPONSIVE NAVBAR === */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1.2rem;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        background: white;
        width: 100%;
        margin-top: 1rem;
        padding: 1rem 0;
    }

    .navbar-menu.show {
        display: flex;
    }
}

/* === FOOTER === */
footer {
    position: sticky;
    bottom: 0;
    background: #222;
    color: #ccc;
    padding: 2rem;
    text-align: center;
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #444;
}