/* ========================================
   Header Styles
   ======================================== */

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(242, 240, 236, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header__logo {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.header__logo-text {
    color: var(--accent);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.header__nav-link:hover {
    color: var(--accent);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__nav-link--cta {
    padding: 8px 20px;
    border: 1px solid var(--accent);
    border-radius: 9999px;
    color: var(--accent);
}

.header__nav-link--cta:hover {
    background-color: var(--accent);
    color: var(--white);
}

.header__nav-link--cta::after {
    display: none;
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
@media (max-width: 900px) {
    .header__nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .header__nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header__burger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header__content {
        height: 70px;
    }
    
    .header__logo {
        font-size: 20px;
    }
}

