/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 125px;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 74px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 218px;
    height: 96px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 48px;
}

.font-size-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.font-size-btn {
    background: none;
    border: none;
    font-family: 'Mulish', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #5C068C;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.font-size-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.font-size-btn:hover::before {
    left: 100%;
}

.font-size-btn:hover {
    background: rgba(85, 40, 134, 0.1);
    text-decoration: none;
}

.font-size-btn.active {
    background: #5C068C;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(85, 40, 134, 0.3);
}

.language-toggle {
    background: none;
    border: none;
    font-family: 'Mulish', sans-serif;
    font-weight: 500;
    font-size:  calc(16px * var(--base-font-scale, 1));
    color: #5C068C;
    cursor: pointer;
    padding: 16px 24px;
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.language-toggle:hover::before {
    left: 100%;
}

.language-toggle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 6px;
    background: #C47DBA;
    border-radius: 0;
    transition: all 0.2s;
}

.language-toggle:hover::after {
    background: #C47DBA;
    width: 70px;
}

/* Header Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 100px;
    }
    
    .header-container {
        flex-direction: row;
        gap: 20px;
        align-items: center;
        padding: 0 40px;
        justify-content: space-between;
    }
    
    .logo {
        width: 144px;
        height: 64px;
        flex-shrink: 0;
    }
    
    .header-controls {
        width: auto;
        justify-content: flex-end;
        gap: 20px;
        flex-shrink: 0;
    }
    
    .font-size-controls {
        gap: 4px;
    }
    
    .font-size-btn {
        padding: 4px 6px;
        min-width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .font-size-btn.active {
        width: 28px;
        height: 28px;
    }
    
    .language-toggle {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 85px;
    }
    
    .header-container {
        padding: 0 20px;
        gap: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        width: 128px;
        height: 56px;
        flex-shrink: 0;
    }
    
    .header-controls {
        gap: 15px;
        width: auto;
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    .font-size-controls {
        gap: 3px;
    }
    
    .font-size-btn {
        padding: 3px 5px;
        min-width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .font-size-btn.active {
        width: 24px;
        height: 24px;
    }
    
    .language-toggle {
        padding: 5px 10px;
        font-size: 12px;
    }
}
