.site-header {
    background-color: #b90b24;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: top 0.4s ease-in-out;
}

.site-header .navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    position: relative;
}

.site-header .logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
    z-index: 1002;
}

.site-header .logo-container:hover {
    opacity: 0.8;
}

.site-header .logo-img {
    max-height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-header #menu-toggle {
    display: none;
}

.site-header .menu-icon {
    display: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 24px;
    user-select: none;
    z-index: 1002;
}

.site-header .nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.site-header .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.site-header .nav-links a:hover {
    color: #ffffff;
    opacity: 0.7;
}

@media (max-width: 850px) {
    .site-header .navbar {
        padding: 12px 20px;
    }

    .site-header .menu-icon {
        display: block;
    }

    .site-header .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #b90b24;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 1001;
    }

    .site-header #menu-toggle:checked ~ .nav-links {
        max-height: 350px;
    }

    .site-header .nav-links a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }
}
