.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--color-bg-secondary);
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header__container {
    width: 100%;
    margin: 0;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 52px;
    width: auto;
    display: block;
}

.header__nav {
    display: flex;
    margin-right: 0.5rem;
}

.nav__list {
    display: flex;
    gap: 1.5rem;
}

.nav__list a {
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav__list a:hover {
    color: var(--color-primary);
}

.header__toggle {
    display: none;
    font-size: 2rem;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1400;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -230px;
    width: 230px;
    height: 100%;
    background-color: var(--color-bg-secondary);
    transition: left 0.3s ease;
    z-index: 1500;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar.open {
    left: 0;
}

.sidebar__close {
    align-self: flex-end;
    font-size: 2rem;
    color: var(--color-text);
    background: none;
    border: none;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.sidebar__close:hover {
    color: var(--color-primary);
}

.sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 1rem;
}

.sidebar__list a {
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
}

.sidebar__list a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.contact-btn {
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    padding: 8px 16px;
    transition: 0.3s ease !important;
}

.contact-btn:hover {
    color: var(--color-bg-secondary) !important;
    background-color: var(--color-primary);
}

@media (max-width: 1024px) {
    .nav__list {
        display: none;
    }

    .header__toggle {
        display: block;
    }
}
.header--hero {
    background-color: rgba(20, 20, 20, 0.181);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
}


.header {
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.sidebar__logo-container {
    margin-bottom: 2rem;
}

.sidebar__logo img {
    height: 50px;
    width: auto;
    display: block;
}

.sidebar__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1600;
}

.sidebar__close:hover {
    color: var(--color-primary);
}
