

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.85rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header__logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.header__nav {
    margin-left: 3rem;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease, background-size 0.3s ease;
    background-image: linear-gradient(var(--gradient-primary));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    position: relative;
}

.header__menu-link:hover {
    color: var(--color-text);
    background-size: 100% 2px;
}

.header__menu-link.active {
    color: var(--color-text);
    background-size: 100% 2px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-bar {
    display: block;
    width: 1.75rem;
    height: 2px;
    margin: 5px 0;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Responsive styles */
@media (max-width: 992px) {
    .header__nav {
        margin-left: 2rem;
    }
    
    .header__menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header__nav, .header__menu {
        display: none;
    }
    
    .header__nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .header__menu.active {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .header__menu-toggle {
        display: block;
    }
    
    .header__menu-toggle.active .menu-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .header__menu-toggle.active .menu-bar:nth-child(2) {
        opacity: 0;
    }
    
    .header__menu-toggle.active .menu-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .header {
        padding: 1rem 0;
    }
    
    .header.scrolled {
        padding: 0.75rem 0;
    }
    
    .logo-img {
        height: 1.75rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .btn-sm {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
} 