.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 0;
    position: relative;
    z-index: 1000;
}

.header-container {
    display: grid;
    grid-template-columns: minmax(120px, 20%) 1fr;
    align-items: center;
    grid-column-gap: 20px;
    min-height: 70px;
    padding: 10px 40px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    width: 100%;
}

.logo {
    max-width: 100px;
    width: 100%;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-container {
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: visible;
    padding-left: 50px;
    padding-right: 50px;
    gap: 40px;
    position: relative;
}

/* When hamburger menu is active, align content to the right */
.nav-container.hamburger-mode {
    justify-content: flex-end;
    padding-right: 20px;
}

.navbar {
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    gap: 40px;
}

.navbar a {
    color: #2F3B40;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.3em;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    text-transform: uppercase;
    flex-shrink: 0;
}

.navbar a:hover,
.navbar a:focus {
    color: #379237;
}

.navbar a.active {
    color: #379237;
}

/* Hamburger menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}


.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #2F3B40;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform-origin: center;
    transform: translateY(9px) rotate(45deg);

}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform-origin: center;
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 10px;
}

.mobile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-dropdown a {
    display: block;
    color: #2F3B40;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.3em;
    padding: 12px 20px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(47, 59, 64, 0.1);
}

.mobile-dropdown a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.mobile-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.mobile-dropdown a:hover,
.mobile-dropdown a:focus {
    color: #379237;
}

.mobile-dropdown a.active {
    color: #379237;
}

